static void Main(string[] args) { Game _Game = new Game(); //start our game loop - we keep running this function until the player quits. while ( _Game.isRunning ) { _Game.Update(); } }
static void Main(string[] args) { Game _Game = new Game(); //start our game loop - we keep running this function until the player quits. while (_Game.isRunning) { _Game.Update(); } }
public static void Main(string[] args) { Game _Game = new Game(); _Game.initialize(); while (_Game.isRunning) { _Game.Update(); } }
static void Main(string[] args) { // look at args to determine run mode... bool isDebug = false; if (args != null && args.Length > 0) { string p1 = args[0]; if (p1.ToUpper() == "DEBUG") { isDebug = true; } } Game _Game = new Game(isDebug); //start our game loop - we keep running this function until the player quits. while (_Game.isRunning) { _Game.Update(); } }