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

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

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

            base.AddPowerUp(powerUp);
        }