private void NewCommand_Executed(object sender, ExecutedRoutedEventArgs e)
 {
     game.NewGame();
     exitButton.IsEnabled = false;
     exitButton.Opacity   = .5;
     DrawGrid();
 }
Example #2
0
 private void MenuNew_Click(object sender, RoutedEventArgs e)
 {
     gameLogic.NewGame();
     DrawGrid();
 }
Example #3
0
 private void NewGame_Click(object sender, RoutedEventArgs e)
 {
     game.NewGame();
     DrawGrid();
 }