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(); }
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(); }