Esempio n. 1
0
        public int GetCost()
        {
            if (EntryCostDatabase.IsUnlocked(name))
            {
                return(0);
            }

            int c = cost;

            foreach (string s in children)
            {
                c += EntryCostDatabase.GetCost(s);
            }

            return(c);
        }
Esempio n. 2
0
 public double ConfigEntryCost(string cfgName)
 {
     EntryCostDatabase.ClearTracker();
     return(EntryCostDatabase.GetCost(cfgName));
 }
Esempio n. 3
0
 public double EntryCost()
 {
     return(EntryCostDatabase.GetCost(name));
 }