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