Ejemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Cleanup game = new Cleanup())
     {
         game.Run();
     }
 }
Ejemplo n.º 2
0
 public Cleanup()
 {
     Instance = this;
     graphics = new GraphicsDeviceManager(this);
     graphics.PreferredBackBufferHeight = 800;
     graphics.PreferredBackBufferWidth = 800;
     //graphics.PreferredBackBufferHeight = 1200;
     //graphics.PreferredBackBufferWidth = 1920;
     //graphics.IsFullScreen = true;
     Content.RootDirectory = "Content";
     Window.Title = "Cleanup!";
 }