/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (SpaceInvaders game = new SpaceInvaders()) { game.Run(); } }
/// <summary> /// Le point d'entrée de l'application /// </summary> static void Main(string[] args) { using (SpaceInvaders game = new SpaceInvaders()) { game.Run(); } }
public static void Main() { using (var game = new SpaceInvaders()) { game.Run(); } }
static void Main(string[] args) { //Create the instance SpaceInvaders game = new SpaceInvaders(); Debug.Assert(game != null); //Start the game game.Run(); }
static void Main(string[] args) { GameMan.Create(); // Create the instance SpaceInvaders game = GameMan.GetGame(); Debug.Assert(game != null); // Start the game game.Run(); }
static void Main(string[] args) { GameStateManager.Create(); // Create the instance SpaceInvaders game = new SpaceInvaders(); Debug.Assert(game != null); GameStateManager.SetGame(game); // Start the game game.Run(); }
static void Main(string[] args) { //test render switch bool isTest = false; if (isTest) { TestGameTwo testGame = new TestGameTwo(); Debug.Assert(testGame != null); testGame.Run(); } else { // Create the instance SpaceInvaders game = new SpaceInvaders(); Debug.Assert(game != null); // Start the game game.Run(); } }