public virtual void Execute(Entity entity, EnemyModel component) { if (entity.hasCircleMissileSpawner) entity.RemoveCircleMissileSpawner(); if (entity.hasCircleMissileRotatedSpawner) entity.RemoveCircleMissileRotatedSpawner(); if (entity.hasDispersionMissileSpawner) entity.RemoveDispersionMissileSpawner(); if (entity.hasHomeMissileSpawner) entity.RemoveHomeMissileSpawner(); if (entity.hasLaserSpawner) entity.RemoveLaserSpawner(); if (entity.hasMultipleMissileSpawner) entity.RemoveMultipleMissileSpawner(); if (entity.hasMissileSpawner) entity.RemoveMissileSpawner(); if (entity.hasTargetMissileSpawner) entity.RemoveTargetMissileSpawner(); }
void deactivateLaser(Entity player) { if (player != null && player.hasLaserSpawner) { player.RemoveLaserSpawner(); } }