void Missile_ReachedTarget(SpaceShip obj) { if (IsAirborne) { Delete(DeleteReasons.SelfDestruction); } }
void Missile_StatusChanged(SpaceShip obj) { if (!IsSpawned) { return; } switch (Status) { case Conditions.Airborne: LaunchTime = GameControl.LastUpdate.TotalGameTime; Ki = new FixedEnemy(TargetSelector(this)); break; case Conditions.ReturningPhase1: case Conditions.ReturningPhase2: Delete(DeleteReasons.SelfDestruction); Debugger.Break(); break; } }
public Vector2 LeaveLandingSlot(SpaceShip ship) { throw new NotImplementedException(); }