public Game1() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; // Create and add a frame rate counter frameRateCounter = new FrameRateCounter(this); Components.Add(frameRateCounter); }
public Game1() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; // Construct the FrameRateCounter frameRateCounter = new FrameRateCounter(this); Components.Add(frameRateCounter); }