示例#1
0
        /// <summary>
        /// 允許使用科技
        /// </summary>
        public void UseableTech(TechComposite parantTech)
        {
            if (Useable || parantTech.TechPoint < this.DevelopePoint)
            {
                return;
            }

            parantTech.TechPoint -= this.DevelopePoint;
            Useable = true;
        }
示例#2
0
 public void AddDevelopableTech(TechComposite tech)
 {
     _DevelopableTech.Add(tech);
 }
示例#3
0
 public TechGroup(TechComposite owner, TechIterator <TechComposite> list)
 {
     _OwnerTech       = owner;
     _DevelopableTech = list;
 }