예제 #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;
 }