/// <summary> /// LabyrinthGame consturctor /// <remarks> /// Will initiate the console renderer and all other required classes /// </remarks> /// </summary> public LabyrinthGame() { this.Renderer = new ConsoleRenderer(); this.commander = new Commander(); this.Scores = ScoreBoardCreator.CreateScoreBoard(); this.Player = PlayerCreator.CreatePlayer(); this.Maze = this.InitMaze(); }
public void ScoreboardFactoryTest() { var score = ScoreBoardCreator.CreateScoreBoard(); Assert.IsTrue(score is IScoreBoard); }