/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Main game = new Main()) { game.Run(); } }
public Main() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; MAIN = this; this.IsMouseVisible = true; graphics.PreferredBackBufferWidth = GameUsage.GameWidth; graphics.PreferredBackBufferHeight = GameUsage.GameHeight; }