Esempio n. 1
0
        /// <summary>
        /// Gets the cost.
        /// </summary>
        /// <param name="type">The type.</param>
        /// <returns></returns>
        public int GetCost(StatType type)
        {
            int cost = 0;

            if (Costs.ContainsKey(type))
            {
                cost = Costs[type];
            }
            return(cost);
        }