Esempio n. 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (SpacewarGame game = new SpacewarGame())
     {
         game.Run();
     }
 }
Esempio n. 2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (SpacewarGame game = new SpacewarGame())
     {
         game.Run();
     }
 }
Esempio n. 3
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
#if WINDOWS || LINUX || PSM
            using (var game = new SpacewarGame())
                game.Run();
#else
            var factory = new MonoGame.Framework.GameFrameworkViewSource <SpacewarGame>();
            Windows.ApplicationModel.Core.CoreApplication.Run(factory);
#endif
        }