コード例 #1
0
 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();
 }