private void UnloadSpecialCargoTo(ILocation location) { var targetLocation = location == null?SpaceMap.GetAnyLocation() : SpaceMap.GetAnyLocationExcept(location); CurrentDelivery.Name = ""; CurrentDelivery.Source = null; CurrentDelivery.Destination = targetLocation; TargetMarker.GoTo(CurrentDelivery.Destination); }
private void LoadSpecialCargoFrom(ILocation location = null) { var targetLocation = location == null?SpaceMap.GetAnyLocation() : SpaceMap.GetAnyLocationExcept(location); CurrentDelivery.Name = SpecialDeliveries.OrderBy(Randomized).First().Name; CurrentDelivery.Source = location; CurrentDelivery.Destination = targetLocation; TargetMarker.GoTo(CurrentDelivery.Destination); }