/// <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(); }
public void TestRenderWinMessage() { GameRenderer renderer = new GameRenderer(); renderer.RenderWinMessage(5); }
public void TestRenderWelcomeMessage() { GameRenderer renderer = new GameRenderer(); renderer.RenderWelcomeMessage(); }
public void TestRenderCommandMessage() { GameRenderer renderer = new GameRenderer(); renderer.RenderCommandMessage(); }
public void TestClear() { GameRenderer renderer = new GameRenderer(); renderer.Clear(); }
/// <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(); }