Ejemplo n.º 1
0
 public override void Move()
 {
     TranslateShip();
     Fire();
     Ordnances.RemoveAll(ord => { return(!ord.Move() ? RemoveFromDisplay(ord) : false); });
     Effects.RemoveAll(effect => { return(!effect.Display() ? RemoveFromDisplay(effect) : false); });
     DestroyedTimeoutCooldown();
     WeaponCooldown();
 }
Ejemplo n.º 2
0
        public override void Move()
        {
            Thrust();
            Rotate();
            TranslateShip();

            Effects.RemoveAll(effect => { return(!effect.Display() ? RemoveFromDisplay(effect) : false); });
            Ordnances.RemoveAll(ord => { return(!ord.Move() ? RemoveFromDisplay(ord) : false); });

            DestroyedTimeoutCooldown();
            InvincibilityCooldown();
            WeaponCooldown();
            WarpAbilityCooldown();
        }