NextLevelScreen ShowAndWaitForInput Method Delta Engine Documentation

Namespace: FindTheWord
Assembly: FindTheWord (in FindTheWord.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public void ShowAndWaitForInput()
Remarks

Tests: FindTheWord.Tests.NextLevelScreenTests
Examples

1 unit tests call FindTheWord.NextLevelScreen.ShowAndWaitForInput
[Test, Ignore]
public void WaitForLevelAdvance()
{
    var nextLevelScreen = new NextLevelScreen();
    nextLevelScreen.ShowAndWaitForInput();
    bool levelStartRaised = false;
    nextLevelScreen.StartNextLevel += () => levelStartRaised = true;
    nextLevelScreen.HideAndStartNextLevel();
    Assert.IsTrue(levelStartRaised);
}
See Also