public bool canSwithToGov(enums.governements ind) { if (ind == enums.governements.anarchy) { return(false); } else { return(technos[Statistics.governements[(byte)ind].neededTechno].researched); } }
public Governement( enums.governements type, string name, string description, bool oppressive, bool surrenderOnConquer, bool canBeChooseByPlayer, byte prod, byte food, byte trade, byte counterIntPerc, byte sciencePerc, byte techno, Stat.Governement.supportType support) { this.type = (byte)type; this.name = name; this.description = description; this.oppresive = oppressive; this.surrenderOnConquer = surrenderOnConquer; this.neededTechno = techno; this.thisSupport = support; this.canBeChoosedByPlayer = canBeChooseByPlayer; this.productionPerc = prod; this.foodPerc = food; this.tradePerc = trade; // this.popGrowthPerc = popGrowthPerc; this.sciencePerc = sciencePerc; this.counterIntPerc = counterIntPerc; }