NextLevelScreen ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  FindTheWord NextLevelScreen

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

public class NextLevelScreen

The NextLevelScreen type exposes the following members.

Constructors

  NameDescription
Public methodNextLevelScreen
Initializes a new instance of the NextLevelScreen class
Top
Methods

  NameDescription
Public methodHideAndStartNextLevel
Public methodShowAndWaitForInput
Top
Events

  NameDescription
Public eventStartNextLevel
Top
Remarks

Tests: FindTheWord.Tests.NextLevelScreenTests
Examples

1 unit tests call FindTheWord.NextLevelScreen
[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