Esempio n. 1
0
        public static SupplyPriorityManager GetSupplyPriorityManagerForVessel(Vessel vessel)
        {
            SupplyPriorityManager manager;

            if (!supply_priority_managers.TryGetValue(vessel, out manager))
            {
                manager = new SupplyPriorityManager(vessel);
                supply_priority_managers.Add(vessel, manager);
            }

            return(manager);
        }
Esempio n. 2
0
 protected virtual SupplyPriorityManager getSupplyPriorityManager(Vessel vessel)
 {
     return(SupplyPriorityManager.GetSupplyPriorityManagerForVessel(vessel));
 }