protected override void ApplyPowerup(Enemy ship) { ship.Weapon.RemoveWeapon(); float spread = 0.28f; //ship.Weapon = null; WeaponBurst burstWeapon = new WeaponBurstWave(ship, 0, 2, spread); ship.Weapon = new WeaponAutoBurst(ship, 0.5f, burstWeapon); ship.FireAction = new FireAction(enemyProjectileBullet.enemyFireBullet); if (ship.Weapon != null) ship.Weapon.StartFire(); }
protected virtual void ApplyPowerup(Enemy ship) { }