public GraphicsEx(Game1 game) { this.game = game; this.gdm = game.graphics; this.gdm.PreferredBackBufferWidth = 1280; this.gdm.PreferredBackBufferHeight = 720; }
/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }