/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (MainGame game = new MainGame()) { game.Run(); } }
protected override void Initialize() { // TODO: Add your initialization logic here graphics.PreferredBackBufferWidth = 1280; graphics.PreferredBackBufferHeight = 720; //graphics.IsFullScreen = true; graphics.ApplyChanges(); IsMouseVisible = true; base.Initialize(); ThisClass = this; }