Class GDXInput
- java.lang.Object
-
- nl.colorize.multimedialib.renderer.libgdx.GDXInput
-
- All Implemented Interfaces:
InputDevice
public class GDXInput extends java.lang.Object implements InputDevice
Access to libGDX's user input state.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGDXInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointgetPointer()booleanisKeyboardAvailable()booleanisKeyPressed(KeyCode keyCode)booleanisKeyReleased(KeyCode keyCode)booleanisPointerPressed()booleanisPointerReleased()voidupdate()
-
-
-
Method Detail
-
update
public void update()
-
getPointer
public Point getPointer()
- Specified by:
getPointerin interfaceInputDevice
-
isPointerPressed
public boolean isPointerPressed()
- Specified by:
isPointerPressedin interfaceInputDevice
-
isPointerReleased
public boolean isPointerReleased()
- Specified by:
isPointerReleasedin interfaceInputDevice
-
isKeyboardAvailable
public boolean isKeyboardAvailable()
- Specified by:
isKeyboardAvailablein interfaceInputDevice
-
isKeyPressed
public boolean isKeyPressed(KeyCode keyCode)
- Specified by:
isKeyPressedin interfaceInputDevice
-
isKeyReleased
public boolean isKeyReleased(KeyCode keyCode)
- Specified by:
isKeyReleasedin interfaceInputDevice
-
-