示例#1
0
文件: Game1.cs 项目: kriepy/Graphics
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     // Create and add a frame rate counter
     frameRateCounter = new FrameRateCounter(this);
     Components.Add(frameRateCounter);
 }
示例#2
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            // Construct the FrameRateCounter
            frameRateCounter = new FrameRateCounter(this);
            Components.Add(frameRateCounter);
        }