Ejemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (TD_Game game = new TD_Game())
     {
         game.Run();
     }
 }
Ejemplo n.º 2
0
 // Creating the TD_Game instance.
 public TD_Game()
 {
     graphics = new GraphicsDeviceManager(this);
     graphics.PreferredBackBufferWidth  = 832;
     graphics.PreferredBackBufferHeight = 512;
     Content.RootDirectory = "Content";
     instance = this;
 }