static void Main(string[] args) { Console.WriteLine("Hello Cold Dead World."); Thread.Sleep(1000); Console.WriteLine("Would You Like To Play?"); if (YES()) { Game game = new Game(); game.start(); } else { //otherwise run simple econ simulator Economy e = new Economy(); Console.Write("Game Starting"); while (true) { e.addEvent(); e.updateEconomy(); e.updateEconomy(); e.updateEconomy(); Thread.Sleep(1000); } } }
public Country() { funds = 10; clout = 10; economy = new Economy(); military = new Military(); politics = new Politics(); climate = new Climate(); }
public void addStat(Economy.stat e, int b) { stats[(int)e] += b; }