Exemple #1
0
 private void PauseGame_Click(object sender, MyMenuItemEventArgs e)
 {
     Window.Title = "The Game Is Paused";
     gameState = GAME_PAUSE;
 }
Exemple #2
0
 private void StartGame_Click(object sender, MyMenuItemEventArgs e)
 {
     Window.Title = "StartGame Is Pressed";
     gameState = GAME_START;
 }
Exemple #3
0
 private void ExitGame_Click(object sender, MyMenuItemEventArgs e)
 {
     this.Exit();
 }