Example #1
0
        private void UpdateScene(GameTime gameTime,
                                 KeyboardState keyState, GamePadState controllerState)
        {
            if (Paused)
            {
                FrameAdvanced = true;
            }
            if (!Global.scene.skip_frame())
            {
                if (Paused)
                {
                    Global.update_input(Game, gameTime, Game.IsActive, keyState, controllerState);
                }
#if !MONOGAME && DEBUG
                Global.update_text_input();
#endif
                Global.update_scene(keyState);
            }
        }