public class GDXInput extends java.lang.Object implements InputDevice
| Modifier | Constructor and Description |
|---|---|
protected |
GDXInput() |
| Modifier and Type | Method and Description |
|---|---|
Point2D |
getPointer() |
boolean |
isKeyboardAvailable() |
boolean |
isKeyPressed(KeyCode keyCode) |
boolean |
isKeyReleased(KeyCode keyCode) |
boolean |
isPointerPressed() |
boolean |
isPointerReleased() |
void |
update() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisPointerAvailablepublic void update()
public Point2D getPointer()
getPointer in interface InputDevicepublic boolean isPointerPressed()
isPointerPressed in interface InputDevicepublic boolean isPointerReleased()
isPointerReleased in interface InputDevicepublic boolean isKeyboardAvailable()
isKeyboardAvailable in interface InputDevicepublic boolean isKeyPressed(KeyCode keyCode)
isKeyPressed in interface InputDevicepublic boolean isKeyReleased(KeyCode keyCode)
isKeyReleased in interface InputDevice