|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Key in uk.ac.ic.doc.game |
---|
Methods in uk.ac.ic.doc.game that return Key | |
---|---|
static Key |
Key.fromKeyCode(int keyCode)
Returns the Key that matches the given key code, or null if no such Key could be found. |
static Key |
Key.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Key[] |
Key.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods in uk.ac.ic.doc.game with parameters of type Key | |
---|---|
void |
IGame.addKeyListener(IGameObject object,
Key key,
IKeyListener listener)
Registers a key listener that will be notified of every timer tick that occurs while the given key is pressed. |
void |
Game.addKeyListener(IGameObject object,
Key key,
IKeyListener listener)
Registers a key listener that will be notified whenever the given key is pressed. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |