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