Game StartGame Method Delta Engine Documentation

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

public void StartGame()
Remarks

Tests: Asteroids.Tests.GameTests
Examples

1 unit tests call Asteroids.Game.StartGame
[Test, CloseAfterFirstFrame]
public void ChangeViewPortSizeInGame()
{
    var window = Resolve<Window>();
    if(window.GetType() != typeof(MockWindow))
        return; //ncrunch: no coverage
    game = new Game(window);
    game.StartGame();
    window.ViewportPixelSize = new Size(800,600);
}
See Also