Пример #1
0
 public void RemoveSpeedPowerup(SpeedPowerup speed)
 {
     if (speedPowerups != null && speed != null)
         speedPowerups.Remove(speed);
 }
Пример #2
0
 public void AddSpeedPowerup(SpeedPowerup powerup)
 {
     if (speedPowerups != null && powerup != null)
         speedPowerups.Add(powerup);
 }