-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.jfx.events.generic.EventDispatcher
public class SimpleKeyboardEventDispatcher extends KeyboardEventDispatcher
A basic implementation of KeyboardEventDispatcher.
-
-
Field Summary
Fields Modifier and Type Field Description private final KeyboardActionListenerlistener
-
Constructor Summary
Constructors Constructor Description SimpleKeyboardEventDispatcher()
-
Method Summary
Modifier and Type Method Description KeyboardActionListenergetListener()The listener bound to this dispatcher. BooleanisHeld(KeyCode key)Returns whether a given key is being held or not at the time of the call. -
-
Method Detail
-
getListener
KeyboardActionListener getListener()
The listener bound to this dispatcher.
-
-
-
-