Beispiel #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (DemoGame game = new DemoGame())
     {
         game.Run();
     }
 }
Beispiel #2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (DemoGame game = new DemoGame())
     {
         game.Run();
     }
 }
Beispiel #3
0
        public static void Main(string[] args)
        {
            // Don't wrap this in a using() because that will dispose
            // the game object.  Unlike a normal console application,
            // we exit Main() and the game continues running.
            var game = new DemoGame();

            // This kicks of the asynchronous game loop and
            // returns immediately for the Web platform.
            game.Run();
        }
Beispiel #4
0
        static void Main(string[] args)
        {
            Game game = new DemoGame();

            game.Run();
        }