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