feud.testgame
Class KeyStates
java.lang.Object
feud.testgame.KeyStates
- public class KeyStates
- extends java.lang.Object
A very simple class that contains key states. This has to be improved to support key mappings and such things.
Method Summary |
static void |
poll(com.threed.jpct.util.KeyMapper keyMapper)
Polls the keys. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
up
public static boolean up
down
public static boolean down
left
public static boolean left
right
public static boolean right
exit
public static boolean exit
lookUp
public static boolean lookUp
lookDown
public static boolean lookDown
fire
public static boolean fire
bloom
public static boolean bloom
one
public static boolean one
two
public static boolean two
three
public static boolean three
tab
public static boolean tab
KeyStates
public KeyStates()
poll
public static void poll(com.threed.jpct.util.KeyMapper keyMapper)
- Polls the keys.
- Parameters:
keyMapper
- KeyMapper the current key mapper