示例#1
0
 public void LoseScore(int scoreToLose)
 {
     this.currentScore -= scoreToLose;
     OnPlayerScoreChange?.Invoke(this.currentScore);
 }
示例#2
0
 public void AddScore(int scoreToAdd)
 {
     this.currentScore += scoreToAdd;
     OnPlayerScoreChange?.Invoke(this.currentScore);
 }