public Bloodbender() { ptr = this; rdn = new Random(); 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 Bloodbender()) game.Run(); }