Exemple #1
0
 private void PlayersScoreIncreases(object sender, ScoreIncreaseEvent e)
 {
     if (e.Score == 10)
     {
         WinningPLayer = e.Player;
     }
 }
Exemple #2
0
 protected virtual void OnScoreIncrease(ScoreIncreaseEvent scoreIncreaseEvent)
 {
     if (ScoreIncrease != null)
     {
         ScoreIncrease.Invoke(this, scoreIncreaseEvent);
     }
 }
Exemple #3
0
 protected virtual void OnScoreIncrease(ScoreIncreaseEvent scoreIncreaseEvent)
 {
     if (ScoreIncrease != null)
     {
         ScoreIncrease.Invoke(this, scoreIncreaseEvent);
     }
 }
Exemple #4
0
 private void PlayersScoreIncreases(object sender, ScoreIncreaseEvent e)
 {
     if (e.Score == 10)
     {
         WinningPLayer = e.Player;
     }
 }