Beispiel #1
0
 public void quitGame(object sender, PlayerIndexEventArgs e)
 {
     Game1.getSingleton().Exit();
 }
Beispiel #2
0
 private void ConfirmExitMessageBoxAccepted(object sender, PlayerIndexEventArgs e)
 {
 }
 private void ConfirmExitMessageBoxAccepted(object sender, PlayerIndexEventArgs e)
 {
 }
Beispiel #4
0
 private void handleCriticalErrorBoxAccepted(object sender, PlayerIndexEventArgs e)
 {
     try
     {
         SpriteBatch.End();
     }
     catch
     {
     }
     handleCriticalError();
 }