Exemplo n.º 1
0
        public Boolean TitleMode()
        {
            // Mouse.
            if (mouseScreenInput.LeftButtonHold())
            {
                Boolean test = controlManager.CheckTitleMode(mouseScreenInput.MousePosition);
                if (test)
                {
                    return(true);
                }
            }

            // Joystick.
            if (joystickInput.JoyHold(Buttons.RightShoulder))
            {
                return(true);
            }

            // Keyboard.
            if (keyboardInput.KeyHold(Keys.D1) || keyboardInput.KeyHold(Keys.Back))
            {
                return(true);
            }

            return(false);
        }