Esempio n. 1
0
 /// <summary>
 /// Gets Called if power up is picked up
 /// </summary>
 /// <param name="newPowerUp">Power Up which is picked up </param>
 public void RegisterPowerUP(PickUp newPowerUp)
 {
     if (!powerUps.Contains(newPowerUp))
     {
         newPowerUp.OnEquip(equipHolder);
         powerUps.Add(newPowerUp);
         // TODO: Delete powerup
     }
 }