Class LJ_GDX.InputProcessor_Z.LIP

java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX.InputProcessor_Z.LIP
All Implemented Interfaces:
com.badlogic.gdx.InputProcessor, com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
LJ_GDX.InputProcessor_Z

public static class LJ_GDX.InputProcessor_Z.LIP extends InterfaceProxy implements com.badlogic.gdx.InputProcessor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    keyDown(int p1)
    Called when a key was pressed
    boolean
    keyTyped(char p1)
    Called when a key was typed
    boolean
    keyUp(int p1)
    Called when a key was released
    boolean
    mouseMoved(int p1, int p2)
    Called when the mouse was moved without any buttons being pressed.
    boolean
    scrolled(float p1, float p2)
    Called when the mouse wheel was scrolled.
    boolean
    touchCancelled(int p1, int p2, int p3, int p4)
    Called when the touch gesture is cancelled.
    boolean
    touchDown(int p1, int p2, int p3, int p4)
    Called when the screen was touched or a mouse button was pressed.
    boolean
    touchDragged(int p1, int p2, int p3)
    Called when a finger or the mouse was dragged.
    boolean
    touchUp(int p1, int p2, int p3, int p4)
    Called when a finger was lifted or a mouse button was released.

    Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy

    getLuaObj, read, write

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • keyDown

      public boolean keyDown(int p1)
      Description copied from interface: com.badlogic.gdx.InputProcessor
      Called when a key was pressed
      Specified by:
      keyDown in interface com.badlogic.gdx.InputProcessor
      Parameters:
      p1 - one of the constants in Input.Keys
      Returns:
      whether the input was processed
    • keyTyped

      public boolean keyTyped(char p1)
      Description copied from interface: com.badlogic.gdx.InputProcessor
      Called when a key was typed
      Specified by:
      keyTyped in interface com.badlogic.gdx.InputProcessor
      Parameters:
      p1 - The character
      Returns:
      whether the input was processed
    • keyUp

      public boolean keyUp(int p1)
      Description copied from interface: com.badlogic.gdx.InputProcessor
      Called when a key was released
      Specified by:
      keyUp in interface com.badlogic.gdx.InputProcessor
      Parameters:
      p1 - one of the constants in Input.Keys
      Returns:
      whether the input was processed
    • mouseMoved

      public boolean mouseMoved(int p1, int p2)
      Description copied from interface: com.badlogic.gdx.InputProcessor
      Called when the mouse was moved without any buttons being pressed. Will not be called on iOS.
      Specified by:
      mouseMoved in interface com.badlogic.gdx.InputProcessor
      Returns:
      whether the input was processed
    • scrolled

      public boolean scrolled(float p1, float p2)
      Description copied from interface: com.badlogic.gdx.InputProcessor
      Called when the mouse wheel was scrolled. Will not be called on iOS.
      Specified by:
      scrolled in interface com.badlogic.gdx.InputProcessor
      Parameters:
      p1 - the horizontal scroll amount, negative or positive depending on the direction the wheel was scrolled.
      p2 - the vertical scroll amount, negative or positive depending on the direction the wheel was scrolled.
      Returns:
      whether the input was processed.
    • touchCancelled

      public boolean touchCancelled(int p1, int p2, int p3, int p4)
      Description copied from interface: com.badlogic.gdx.InputProcessor
      Called when the touch gesture is cancelled. Reason may be from OS interruption to touch becoming a large surface such as the user cheek). Relevant on Android and iOS only. The button parameter will be Input.Buttons.LEFT on iOS.
      Specified by:
      touchCancelled in interface com.badlogic.gdx.InputProcessor
      p3 - the pointer for the event.
      p4 - the button
      Returns:
      whether the input was processed
    • touchDown

      public boolean touchDown(int p1, int p2, int p3, int p4)
      Description copied from interface: com.badlogic.gdx.InputProcessor
      Called when the screen was touched or a mouse button was pressed. The button parameter will be Input.Buttons.LEFT on iOS.
      Specified by:
      touchDown in interface com.badlogic.gdx.InputProcessor
      Parameters:
      p1 - The x coordinate, origin is in the upper left corner
      p2 - The y coordinate, origin is in the upper left corner
      p3 - the pointer for the event.
      p4 - the button
      Returns:
      whether the input was processed
    • touchDragged

      public boolean touchDragged(int p1, int p2, int p3)
      Description copied from interface: com.badlogic.gdx.InputProcessor
      Called when a finger or the mouse was dragged.
      Specified by:
      touchDragged in interface com.badlogic.gdx.InputProcessor
      p3 - the pointer for the event.
      Returns:
      whether the input was processed
    • touchUp

      public boolean touchUp(int p1, int p2, int p3, int p4)
      Description copied from interface: com.badlogic.gdx.InputProcessor
      Called when a finger was lifted or a mouse button was released. The button parameter will be Input.Buttons.LEFT on iOS.
      Specified by:
      touchUp in interface com.badlogic.gdx.InputProcessor
      p3 - the pointer for the event.
      p4 - the button
      Returns:
      whether the input was processed