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