Esempio n. 1
0
 public void OnGameOver(object sender, GameOverEventArgs e)
 {
     MessageBox.Show("Player two won: " + e.PlayerTwoWon);
 }
Esempio n. 2
0
 private void NotifyGameOver(bool playerTwoWon)
 {
     GameOverEventArgs e = new GameOverEventArgs(playerTwoWon);
     GameOver(this, e);
 }