示例#1
0
 protected override void Initialize()
 {
     _debugger=new Debugger();
     _graphics.PreferredBackBufferWidth = 1024;
     _graphics.PreferredBackBufferHeight = 768;
     _graphics.ApplyChanges();
     base.Initialize();
 }
示例#2
0
        protected override void Initialize()
        {
            IsFixedTimeStep = false;
            graphics.SynchronizeWithVerticalRetrace = false;

            _debugger=new Debugger();
            Services.AddService(typeof(Debugger),_debugger);
            base.Initialize();
        }