IndustryType GetRandomIndustry() { return(RandomEnum <IndustryType> .GenerateValue()); }
public static void SetIndependence(GameEntity company, bool independence) { if (independence) { company.isIndependentCompany = true; if (!company.hasInvestmentStrategy) { company.AddInvestmentStrategy(CompanyGrowthStyle.Aggressive, VotingStyle.Percent75, RandomEnum <InvestorInterest> .GenerateValue(InvestorInterest.None)); } } else { company.isIndependentCompany = false; if (company.hasInvestmentStrategy) { company.RemoveInvestmentStrategy(); } } }