| Modifier and Type | Method and Description |
|---|---|
static Key |
Key.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Key[] |
Key.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<Key> |
Key.fromCode(int code) |
static List<Key> |
Key.fromCodes(Collection<Integer> codes) |
static List<Key> |
Key.fromCodes(int... codes) |
static Optional<Key> |
Key.fromString(String name) |
static List<Key> |
Key.keys() |
static java.util.stream.Stream<Key> |
Key.stream() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
KeyboardState.areAllKeysPressed(Key... keys) |
static boolean |
Keyboard.areAllKeysPressed(Key... keys) |
boolean |
KeyboardState.areAllKeysReleased(Key... keys) |
static boolean |
Keyboard.areAllKeysReleased(Key... keys) |
static boolean |
Keyboard.isAtLeastOneKeyJustPressed(Key... keys) |
static boolean |
Keyboard.isAtLeastOneKeyJustReleased(Key... keys) |
boolean |
KeyboardState.isAtLeastOneKeyPressed(Key... keys) |
static boolean |
Keyboard.isAtLeastOneKeyPressed(Key... keys) |
boolean |
KeyboardState.isAtLeastOneKeyReleased(Key... keys) |
static boolean |
Keyboard.isKeyJustPressed(Key key) |
boolean |
InputRecording.isKeyJustPressed(Key key) |
boolean |
IInputAware.isKeyJustPressed(Key key) |
boolean |
GdxInputAware.isKeyJustPressed(Key key) |
static boolean |
Keyboard.isKeyJustReleased(Key key) |
boolean |
KeyboardState.isKeyPressed(Key key) |
static boolean |
Keyboard.isKeyPressed(Key key) |
boolean |
InputRecording.isKeyPressed(Key key) |
boolean |
IInputAware.isKeyPressed(Key key) |
boolean |
GdxInputAware.isKeyPressed(Key key) |
boolean |
KeyboardState.isKeyReleased(Key key) |
static boolean |
Keyboard.isKeyReleased(Key key) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
KeyboardState.areAllKeysPressed(Collection<Key> keys) |
static boolean |
Keyboard.areAllKeysPressed(Collection<Key> keys) |
boolean |
KeyboardState.areAllKeysReleased(Collection<Key> keys) |
static boolean |
Keyboard.areAllKeysReleased(Collection<Key> keys) |
static boolean |
Keyboard.isAtLeastOneKeyJustPressed(Collection<Key> keys) |
static boolean |
Keyboard.isAtLeastOneKeyJustReleased(Collection<Key> keys) |
boolean |
KeyboardState.isAtLeastOneKeyPressed(Collection<Key> keys) |
static boolean |
Keyboard.isAtLeastOneKeyPressed(Collection<Key> keys) |
boolean |
KeyboardState.isAtLeastOneKeyReleased(Collection<Key> keys) |
Copyright © 2016. All rights reserved.