示例#1
0
文件: Game1.cs 项目: JorikTM/GrRalJo
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     this.graphics.PreferredBackBufferWidth  = 800;
     this.graphics.PreferredBackBufferHeight = 600;
     this.graphics.IsFullScreen = false;
     this.graphics.SynchronizeWithVerticalRetrace = false;
     this.frameRateCounter = new FrameRateCounter(this);
     this.Components.Add(frameRateCounter);
     this.graphics.ApplyChanges();
     this.IsFixedTimeStep = false;
 }
示例#2
0
文件: Game1.cs 项目: JorikTM/GrRalJo
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     this.graphics.PreferredBackBufferWidth = 800;
     this.graphics.PreferredBackBufferHeight = 600;
     this.graphics.IsFullScreen = false;
     this.graphics.SynchronizeWithVerticalRetrace = false;
     this.frameRateCounter = new FrameRateCounter(this);
     this.Components.Add(frameRateCounter);
     this.graphics.ApplyChanges();
     this.IsFixedTimeStep = false;
 }