/// <summary> /// Returns the entity that we're approaching /// </summary> /// <param name = "directEve"></param> /// <returns></returns> public static DirectEntity GetApproachingEntity(this DirectEve directEve) { if (directEve.ActiveShip.Entity == null) { return(null); } return(directEve.GetEntityById(directEve.ActiveShip.Entity.FollowId)); }