Пример #1
0
 /// <summary>
 ///Initializes a new instance of the <see cref="GameEngine"/> class. Sets base parameters for new game, scoreboard and field.
 /// </summary>
 public GameEngine()
 {
     this.scoreBoard = new ScoreBoard();
     this.field = new GameField(Size);
     renderer = new GameRenderer();
 }
Пример #2
0
 public void TestRenderWinMessage()
 {
     GameRenderer renderer = new GameRenderer();
     renderer.RenderWinMessage(5);
 }
Пример #3
0
 public void TestRenderWelcomeMessage()
 {
     GameRenderer renderer = new GameRenderer();
     renderer.RenderWelcomeMessage();
 }
Пример #4
0
 public void TestRenderCommandMessage()
 {
     GameRenderer renderer = new GameRenderer();
     renderer.RenderCommandMessage();
 }
Пример #5
0
 public void TestClear()
 {
     GameRenderer renderer = new GameRenderer();
     renderer.Clear();
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GameEngine"/> class. Sets base parameters for new game, scoreboard and field.
 /// </summary>
 public GameEngine()
 {
     this.scoreBoard = new ScoreBoard();
     this.field      = new GameField(Size);
     this.renderer   = new GameRenderer();
 }