public class Key
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
A
If the value is set to true, then the hAh button will be pressed.
|
boolean |
B
If the value is set to true, then the hBh button will be pressed.
|
boolean |
C
If the value is set to true, then the hCh button will be pressed.
|
boolean |
D
If the value is set to true, then the hDownh button will be pressed.
|
boolean |
L
If the value is set to true, then the hLefth button will be pressed.
|
boolean |
R
If the value is set to true, then the hRighth button will be pressed.
|
boolean |
U
If the value is set to true, then the hUpwardh@button will be pressed.
|
Constructor and Description |
---|
Key()
This constructor initializes all keys to false, or not pressed.
|
Modifier and Type | Method and Description |
---|---|
void |
empty()
This method resets all keys to false, or not pressed.
|
public boolean A
public boolean B
public boolean C
public boolean U
public boolean R
public boolean D
public boolean L