Esempio n. 1
0
 public void UsePowerup(PowerupId id, float duration = 1f)
 {
     powerupIndicators[id.GetHashCode()].Use();
 }
Esempio n. 2
0
 public void ActivatePowerup(PowerupId id, float duration = 1)
 {
     powerupIndicators[id.GetHashCode()].Activate(duration);
 }
Esempio n. 3
0
 public void GainPowerup(PowerupId id, int amountGained)
 {
     powerupIndicators[id.GetHashCode()].Get(amountGained);
 }