Uses of Enum Class
playn.core.Key
-
Uses of Key in playn.core
Modifier and TypeFieldDescriptionfinal Key
Keyboard.KeyEvent.key
The key that triggered this event, e.g.Modifier and TypeMethodDescriptionstatic Key
Returns the enum constant of this class with the specified name.static Key[]
Key.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Function<Keyboard.Event,
Keyboard.KeyEvent> Returns a collector function for key events forkey
.static Keyboard.KeyEvent
Keyboard.isKey
(Key key, Keyboard.Event event) A collector function for key events forkey
.