-
- All Implemented Interfaces:
-
it.unibo.alchemist.boundary.jfx.events.generic.TriggerAction
public final class KeyboardTriggerAction implements TriggerAction
The keyboard-related TriggerAction.
-
-
Field Summary
Fields Modifier and Type Field Description private final ActionOnKeytypeprivate final KeyCodekey
-
Constructor Summary
Constructors Constructor Description KeyboardTriggerAction(ActionOnKey type, KeyCode key)
-
Method Summary
Modifier and Type Method Description final ActionOnKeygetType()final KeyCodegetKey()-
-
Constructor Detail
-
KeyboardTriggerAction
KeyboardTriggerAction(ActionOnKey type, KeyCode key)
- Parameters:
type- the action performed with the key.key- the on which the action is performed.
-
-
Method Detail
-
getType
final ActionOnKey getType()
-
getKey
final KeyCode getKey()
-
-
-
-