Example #1
0
        public Game1()
        {
            game = this;
            graphics = new GraphicsDeviceManager(this);
            graphics.PreferredBackBufferHeight = 600;
            graphics.PreferredBackBufferWidth  = 500;

            Content.RootDirectory = "Content";
            cm = Content;
        }
Example #2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     //Debugger.Launch();
     using (Game1 game = new Game1())
         game.Run();
 }