コード例 #1
0
ファイル: GameBushFire.cs プロジェクト: theboot999/Bushfire
        protected override void Draw(GameTime gameTime)
        {
            debugDrawTimeStopwatch.Start();
            GraphicsDevice.Clear(Color.Black);
            ScreenController.activeScreen.Draw(DisplayController.spriteBatch);
            base.Draw(gameTime);
            EngineController.AddDrawFrame();

            debugDrawTimeStopwatch.Stop();
            EngineController.drawTime = debugDrawTimeStopwatch.ElapsedTicks;
            debugDrawTimeStopwatch.Reset();
        }