public static EscapePodData From(List <EscapePodModel> escapePods) { EscapePodData escapePodData = new EscapePodData { EscapePods = escapePods }; return(escapePodData); }
public static EscapePodData from(List <EscapePodModel> escapePods) { EscapePodData escapePodData = new EscapePodData(); escapePodData.EscapePods = escapePods; return(escapePodData); }
public EscapePodManager(EscapePodData escapePodData) { this.escapePodData = escapePodData; if (escapePodData.podNotFullYet == null) { escapePodData.podNotFullYet = CreateNewEscapePod(); } }
public EscapePodManager(EscapePodData escapePodData) { this.escapePodData = escapePodData; if (escapePodData.escapePods.Count > 0) { escapePodData.podNotFullYet = escapePodData.escapePods.GetLast(); } if (escapePodData.podNotFullYet == null) { escapePodData.podNotFullYet = CreateNewEscapePod(); } }
public EscapePodManager(EscapePodData escapePodData) { this.escapePodData = escapePodData; if (escapePodData.EscapePods.Count > 0) { escapePodData.PodNotFullYet = escapePodData.EscapePods[escapePodData.EscapePods.Count - 1]; } if (escapePodData.PodNotFullYet == null) { escapePodData.PodNotFullYet = CreateNewEscapePod(); } }