public class Keybind
extends java.lang.Object
| Constructor and Description |
|---|
Keybind(IResourceName name,
int defKey,
boolean isMouse) |
| Modifier and Type | Method and Description |
|---|---|
int |
getKey() |
IResourceName |
getName() |
boolean |
isDown() |
boolean |
isKey(int key) |
boolean |
isPressed() |
Keybind |
register() |
void |
setBind(int key) |
public Keybind(IResourceName name, int defKey, boolean isMouse)
public void setBind(int key)
public boolean isDown()
public boolean isPressed()
public boolean isKey(int key)
public IResourceName getName()
public int getKey()
public Keybind register()