Game ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  FindTheWord Game

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

public class Game

The Game type exposes the following members.

Constructors

  NameDescription
Public methodGame
Initializes a new instance of the Game class
Top
Remarks

Tests: FindTheWord.Tests.GameScreenTests
Examples

2 unit tests call FindTheWord.Game
[Test, Ignore]
public void ShowScreen()
{
    Resolve<Window>().ViewportPixelSize = new Size(1280, 800);
    var screen = new GameScreen();
    screen.FadeIn();
    screen.StartNextLevel();
}
[Test, Ignore]
public void InitializeGame()
{
    var startupScreen = Resolve<StartupScreen>();
    var gameScreen = Resolve<GameScreen>();
    new Game(startupScreen, gameScreen);
    startupScreen.StartGame();
    Assert.IsTrue(startupScreen.IsVisible);
}
See Also