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 }
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 }