Example #1
0
 protected void PlayerScored(int playerIndex)
 {
     if (OnPlayerScored != null)
     {
         OnPlayerScored.Invoke(playerIndex);
     }
 }
 public void PlayerScored(int points)
 {
     OnPlayerScored?.Invoke(PlayerId, points);
 }