예제 #1
0
 private void OnClickNewGame(object sender, System.EventArgs e)
 {
     GameOver = false;
     if (board != null)
     {
         board.RemoveCell();
     }
     difficultyLevel = new LevelFactory().GetLevel(userInputLevel);
     difficultyLevel.StartGame(this);
     board = difficultyLevel.GetBoardInstance();
 }