feud.testgame
Class KeyStates

java.lang.Object
  extended byfeud.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.


Field Summary
static boolean bloom
           
static boolean down
           
static boolean exit
           
static boolean fire
           
static boolean left
           
static boolean lookDown
           
static boolean lookUp
           
static boolean one
           
static boolean right
           
static boolean tab
           
static boolean three
           
static boolean two
           
static boolean up
           
 
Constructor Summary
KeyStates()
           
 
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
 

Field Detail

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
Constructor Detail

KeyStates

public KeyStates()
Method Detail

poll

public static void poll(com.threed.jpct.util.KeyMapper keyMapper)
Polls the keys.

Parameters:
keyMapper - KeyMapper the current key mapper