예제 #1
0
        public static EscapePodData From(List <EscapePodModel> escapePods)
        {
            EscapePodData escapePodData = new EscapePodData {
                EscapePods = escapePods
            };

            return(escapePodData);
        }
예제 #2
0
        public static EscapePodData from(List <EscapePodModel> escapePods)
        {
            EscapePodData escapePodData = new EscapePodData();

            escapePodData.EscapePods = escapePods;

            return(escapePodData);
        }
예제 #3
0
        public EscapePodManager(EscapePodData escapePodData)
        {
            this.escapePodData = escapePodData;

            if (escapePodData.podNotFullYet == null)
            {
                escapePodData.podNotFullYet = CreateNewEscapePod();
            }
        }
예제 #4
0
        public EscapePodManager(EscapePodData escapePodData)
        {
            this.escapePodData = escapePodData;

            if (escapePodData.escapePods.Count > 0)
            {
                escapePodData.podNotFullYet = escapePodData.escapePods.GetLast();
            }

            if (escapePodData.podNotFullYet == null)
            {
                escapePodData.podNotFullYet = CreateNewEscapePod();
            }
        }
예제 #5
0
        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();
            }
        }