Package com.prineside.luaj.mapping.parts
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 TypeMethodDescriptionbooleankeyDown(int p1) Called when a key was pressedbooleankeyTyped(char p1) Called when a key was typedbooleankeyUp(int p1) Called when a key was releasedbooleanmouseMoved(int p1, int p2) Called when the mouse was moved without any buttons being pressed.booleanscrolled(float p1, float p2) Called when the mouse wheel was scrolled.booleantouchCancelled(int p1, int p2, int p3, int p4) Called when the touch gesture is cancelled.booleantouchDown(int p1, int p2, int p3, int p4) Called when the screen was touched or a mouse button was pressed.booleantouchDragged(int p1, int p2, int p3) Called when a finger or the mouse was dragged.booleantouchUp(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 
- 
Method Details
- 
keyDown
public boolean keyDown(int p1) Description copied from interface:com.badlogic.gdx.InputProcessorCalled when a key was pressed- Specified by:
 keyDownin interfacecom.badlogic.gdx.InputProcessor- Parameters:
 p1- one of the constants inInput.Keys- Returns:
 - whether the input was processed
 
 - 
keyTyped
public boolean keyTyped(char p1) Description copied from interface:com.badlogic.gdx.InputProcessorCalled when a key was typed- Specified by:
 keyTypedin interfacecom.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.InputProcessorCalled when a key was released- Specified by:
 keyUpin interfacecom.badlogic.gdx.InputProcessor- Parameters:
 p1- one of the constants inInput.Keys- Returns:
 - whether the input was processed
 
 - 
mouseMoved
public boolean mouseMoved(int p1, int p2) Description copied from interface:com.badlogic.gdx.InputProcessorCalled when the mouse was moved without any buttons being pressed. Will not be called on iOS.- Specified by:
 mouseMovedin interfacecom.badlogic.gdx.InputProcessor- Returns:
 - whether the input was processed
 
 - 
scrolled
public boolean scrolled(float p1, float p2) Description copied from interface:com.badlogic.gdx.InputProcessorCalled when the mouse wheel was scrolled. Will not be called on iOS.- Specified by:
 scrolledin interfacecom.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.InputProcessorCalled 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 beInput.Buttons.LEFTon iOS.- Specified by:
 touchCancelledin interfacecom.badlogic.gdx.InputProcessorp3- 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.InputProcessorCalled when the screen was touched or a mouse button was pressed. The button parameter will beInput.Buttons.LEFTon iOS.- Specified by:
 touchDownin interfacecom.badlogic.gdx.InputProcessor- Parameters:
 p1- The x coordinate, origin is in the upper left cornerp2- The y coordinate, origin is in the upper left cornerp3- 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.InputProcessorCalled when a finger or the mouse was dragged.- Specified by:
 touchDraggedin interfacecom.badlogic.gdx.InputProcessorp3- 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.InputProcessorCalled when a finger was lifted or a mouse button was released. The button parameter will beInput.Buttons.LEFTon iOS.- Specified by:
 touchUpin interfacecom.badlogic.gdx.InputProcessorp3- the pointer for the event.p4- the button- Returns:
 - whether the input was processed
 
 
 -