public override void Update(Microsoft.Xna.Framework.GameTime gameTime)
        {
#if DEBUG
            if (_controls.ConsoleButton())
            {
                ConsoleWindow.ToggleConsole();
            }
            if (_controls.ConsoleSwitchButton())
            {
                ConsoleWindow.ChangeMode();
            }
#endif

            if (_recievingRawInput)
            {
                System.Windows.Forms.Application.DoEvents();
            }

#if WINDOWS

            _mouseInput.Update();

#endif

            _controls.Update();
            base.Update(gameTime);
        }
Exemplo n.º 2
0
        public override void Update(Microsoft.Xna.Framework.GameTime gameTime)
        {
#if DEBUG
            if (_controls.ConsoleButton())
            {
                ConsoleWindow.ToggleConsole();
            }
            if (_controls.ConsoleSwitchButton())
            {
                ConsoleWindow.ChangeMode();
            }
#endif
            _controls.Update();
            base.Update(gameTime);
        }