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