Ejemplo n.º 1
0
 protected override void Update(GameTime gameTime)
 {
     frameRateCalculator.BeginTime();
     base.Update(gameTime);
     frameRateCalculator.EndTime();
     frameRateCalculator.Update(gameTime);
     uiManager.ScreenService.WindowService.Title = frameRateCalculator.ToString();
 }
Ejemplo n.º 2
0
        public override void Draw(GameTime time)
        {
            frameRateCalculator.BeginTime();
            Game.GraphicsDevice.Clear(Color.Black);

            UIManager.Draw();
            frameRateCalculator.EndTime();
        }