Uses of Enum Class
playn.core.Key
-
Uses of Key in playn.core
Fields in playn.core declared as KeyModifier and TypeFieldDescriptionfinal KeyKeyboard.KeyEvent.keyThe key that triggered this event, e.g.Methods in playn.core that return KeyModifier and TypeMethodDescriptionstatic KeyReturns 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.Methods in playn.core with parameters of type KeyModifier and TypeMethodDescriptionstatic Function<Keyboard.Event,Keyboard.KeyEvent> Returns a collector function for key events forkey.static Keyboard.KeyEventKeyboard.isKey(Key key, Keyboard.Event event) A collector function for key events forkey.Constructors in playn.core with parameters of type Key