Game StartGame Method Delta Engine Documentation

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

public void StartGame()
Remarks

Tests: SideScroller.Tests.GameTests
Examples

1 unit tests call SideScroller.Game.StartGame
[Test]
public void CreateEnemiesAFterPointInTime()
{
    game.StartGame();
    AdvanceTimeAndUpdateEntities(TimeToSpawnNewEnemy + 0.1f);
    Assert.AreEqual(1, EntitiesRunner.Current.GetEntitiesOfType<EnemyPlane>().Count);
}
See Also