예제 #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);
        }
예제 #2
0
 protected virtual SupplyPriorityManager getSupplyPriorityManager(Vessel vessel)
 {
     return(SupplyPriorityManager.GetSupplyPriorityManagerForVessel(vessel));
 }