protected override void Initialize() { _debugger=new Debugger(); _graphics.PreferredBackBufferWidth = 1024; _graphics.PreferredBackBufferHeight = 768; _graphics.ApplyChanges(); base.Initialize(); }
protected override void Initialize() { IsFixedTimeStep = false; graphics.SynchronizeWithVerticalRetrace = false; _debugger=new Debugger(); Services.AddService(typeof(Debugger),_debugger); base.Initialize(); }