Exemplo 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();
 }
Exemplo n.º 2
0
        public override void Update(GameTime elapsedTime)
        {
            frameRateCalculator.BeginTime();
            UIManager.Update(elapsedTime);
            frameRateCalculator.EndTime();
            frameRateCalculator.Update(elapsedTime);

            UIManager.ScreenService.WindowService.Title = frameRateCalculator.ToString();
        }