Beispiel #1
0
 private void GetPointForAsteroid(int value)
 {
     _score += value;
     OnScoreChange?.Invoke(_score);
     if (_score < targetPointForNewHp)
     {
         return;
     }
     _playerHealthComponent.IncreaseHealthPoint();
     targetPointForNewHp += _initTargetPoint;
 }