Ejemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            // Form Settings
            FormSettings settings = new FormSettings()
            {
                ContentDirectory = "Content",
                ScreenSize = new Microsoft.Xna.Framework.Point(800, 600),
                Windowed = true,
                WindowMouseView = true,
                FormContolLayout = new DefaultLayuout(),
                Window = new DefaultGameWindow()
            };

            // Run Window
            using (Game1 game = new Game1(settings)) game.Run();
        }