示例#1
0
 //GENERATE THE MAZE AND SEND IT TO THE GAME FORM
 public void GenMaze()
 {
     _game = new MazeViewGame(this);
     Panel = _model.GenMaze();
     _game.Controls.Add(Panel);
     _game.Size = new Size(Panel.Width + 200, Panel.Height + 150);
     _game.ShowDialog();
     _game.Focus();
 }
示例#2
0
 public MazeController(MazeViewGame mazeViewGame)
 {
     _game = mazeViewGame;
 }