示例#1
0
        // Handle Window
        internal void SetWindow(GameWindow window)
        {
            // Remove previous window
            if (_window != null)
            {
                RemoveWindow();
            }

            //
            _window = window;

            //
            _keyboard.ApplyWindow(_window);
            _mouse.ApplyWindow(_window);
        }