SnakeTests TouchBottomBorder Method Delta Engine Documentation

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

public void TouchBottomBorder()
Examples

[Test, CloseAfterFirstFrame]
public void TouchBottomBorder()
{
    var game = new Game(Resolve<Window>());
    game.StartGame();
    game.MoveLeft();
    AdvanceTimeAndUpdateEntities(moveSpeed);
    game.MoveDown();
    AdvanceTimeAndUpdateEntities(moveSpeed * gridSize / 2);
}
See Also