SingleHumanGameTests ClickingSquareAfterGameOverExits Method Delta Engine Documentation

Namespace: Drench.Tests.Games
Assembly: Drench.Tests (in Drench.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ClickingSquareAfterGameOverExits()
Examples

[Test, CloseAfterFirstFrame]
public void ClickingSquareAfterGameOverExits()
{
    bool hasExited = false;
    game.Exited += () => hasExited = true;
    MakeMovesThatFinishGame();
    ClickMouse(Vector2D.Half);
    Assert.IsTrue(hasExited);
}
See Also