Game ExitGame Method Delta Engine Documentation

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

public static void ExitGame()
Remarks

Tests: CreepyTowers.Tests.GameTests
Examples

1 unit tests call CreepyTowers.Game.ExitGame
[Test]
public void ExitingGameRemovesAllEntities()
{
    MockGame.ExitGame();
    Assert.AreEqual(0, EntitiesRunner.Current.GetAllEntities().Count);
}
See Also