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

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