Interface IPlayerEvent.MouseClickedEvent

    • Method Detail

      • getButton

        int getButton()
        Returns:
        the mouse button index.
      • getMouseWheel

        int getMouseWheel()
        Returns:
        the mouse wheel scroll delta.
      • buttonDown

        boolean buttonDown()
        Returns:
        true if the button is being pressed down.
      • isCtrlPressed

        boolean isCtrlPressed()
        Returns:
        true if Ctrl is held.
      • isAltPressed

        boolean isAltPressed()
        Returns:
        true if Alt is held.
      • isShiftPressed

        boolean isShiftPressed()
        Returns:
        true if Shift is held.
      • isMetaPressed

        boolean isMetaPressed()
        Returns:
        true if Meta is held.
      • getKeysDown

        int[] getKeysDown()
        Returns:
        array of currently held key codes.