/// <summary> /// 允許使用科技 /// </summary> public void UseableTech(TechComposite parantTech) { if (Useable || parantTech.TechPoint < this.DevelopePoint) { return; } parantTech.TechPoint -= this.DevelopePoint; Useable = true; }
public void AddDevelopableTech(TechComposite tech) { _DevelopableTech.Add(tech); }
public TechGroup(TechComposite owner, TechIterator <TechComposite> list) { _OwnerTech = owner; _DevelopableTech = list; }