Package playn.core
Class Keyboard.TypedEvent
java.lang.Object
playn.core.Event
playn.core.Event.Input
playn.core.Keyboard.Event
playn.core.Keyboard.TypedEvent
- Enclosing class:
Keyboard
An event dispatched when a printable character is typed.
-
Nested Class Summary
Nested classes/interfaces inherited from class playn.core.Event
Event.Input, Event.XY
-
Field Summary
Fields inherited from class playn.core.Event.Input
flags, time
Fields inherited from class playn.core.Event
F_PREVENT_DEFAULT
-
Constructor Summary
-
Method Summary
Methods inherited from class playn.core.Event.Input
clearFlag, isAltDown, isCtrlDown, isMetaDown, isSet, isShiftDown, modifierFlags, setFlag, toString, updateFlag
-
Field Details
-
typedChar
public char typedCharThe character typed to trigger this event, e.g. 'c'.
-
-
Constructor Details
-
TypedEvent
public TypedEvent(int flags, double time, char typedChar)
-