public class Interaction
extends java.lang.Object
Constructor and Description |
---|
Interaction(Character c) |
Interaction(Character c,
javafx.scene.input.KeyCode k) |
Modifier and Type | Method and Description |
---|---|
Character |
getCHARACTER() |
javafx.scene.input.KeyCode |
getInteraction() |
void |
setInteraction(javafx.scene.input.KeyCode interaction) |
public Interaction(Character c)
c
- Character of Interactionpublic Interaction(Character c, javafx.scene.input.KeyCode k)
c
- Character of Interactionk
- KeyCode of Interactionpublic javafx.scene.input.KeyCode getInteraction()
public void setInteraction(javafx.scene.input.KeyCode interaction)
interaction
- set the KeyCode of the Interactionpublic Character getCHARACTER()