Inheritance: FBLibrary.Core.BaseEntities.BasePowerUp
Exemple #1
0
        public void AddPowerUp(PowerUpType type, Point position)
        {
            var powerUp = new PowerUp(position, type);
            PowerUpList.Add(powerUp);

            base.AddPowerUp(powerUp);
        }
Exemple #2
0
        private void RemovePowerUp(PowerUp powerUp)
        {
            PowerUpList.Remove(powerUp);

            base.RemovePowerUp(powerUp);
        }
Exemple #3
0
        public override void AddPowerUp(Point position)
        {
            var powerUp = new PowerUp(position);
            PowerUpList.Add(powerUp);

            base.AddPowerUp(powerUp);
        }