예제 #1
0
        static void Main(string[] args)
        {
            MazeGame mazeGame = new MazeGame();

            mazeGame.CreateMaze();

            BombedMazeGame bombedMazeGame = new BombedMazeGame();

            bombedMazeGame.CreateMaze();

            EnchantedMazeGame enchantedMazeGame = new EnchantedMazeGame();

            enchantedMazeGame.CreateMaze();
        }
예제 #2
0
 public void Setup()
 {
     SetOrReset();
     mazeGame = new BombedMazeGame();
     maze     = mazeGame.CreateMaze();
 }