GameManagerTests StopSimulation Method Delta Engine Documentation

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

public void StopSimulation()
Examples

[Test]
public void StopSimulation()
{
    SimulationRunsWithFourTickPerSecondWhenStarted();
    manager.StartOrStopSimulation();
    Assert.IsFalse(manager.IsSimulationRunning);
}
[Test]
public void ResetGameAlsoStopSimulationWhenCurrentlyRunning()
{
    SimulationRunsWithFourTickPerSecondWhenStarted();
    manager.ResetGame();
    Assert.IsFalse(manager.IsSimulationRunning);
}
See Also