예제 #1
0
        public Maze GenerateNewMaze(int rows, int columns)
        {
            // UI Controller interacts with the Maze Controller
            _mazeController = new MazeController(rows, columns);

            InitializeControllers();

            return(_mazeController.Maze); // return the maze for display purposes
        }
예제 #2
0
파일: UIController.cs 프로젝트: riyaan/ADS4
        public Maze GenerateNewMaze(int rows, int columns)
        {
            // UI Controller interacts with the Maze Controller
            _mazeController = new MazeController(rows, columns);

            InitializeControllers();

            return _mazeController.Maze; // return the maze for display purposes
        }