public KingOfThePit() { ptr = this; mouse = Mouse.GetState(); graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; graphics.PreferredBackBufferWidth = width; graphics.PreferredBackBufferHeight = height; //graphics.HardwareModeSwitch = false; //graphics.SynchronizeWithVerticalRetrace = false; //IsFixedTimeStep = false; //graphics.IsFullScreen = true; resolutionIndependence = new ResolutionIndependentRenderer(this); }
static void Main() { using (var game = new KingOfThePit()) game.Run(); }