Пример #1
0
 public void AddScore(int value)
 {
     if (value > 0)
     {
         value *= playerModel.combo;
     }
     OnScoreValueChanged?.Invoke(value, playerModel.currScore + value);
     playerModel.currScore += value;
     scoreView.AddCurrentScore(value);
 }