Package zombie.input
Class KeyboardState
java.lang.Object
zombie.input.KeyboardState
public final class KeyboardState
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description KeyboardState() -
Method Summary
Modifier and Type Method Description KeyEventQueuegetEventQueue()intgetKeyCount()booleanisCreated()booleanisKeyDown(int int1)voidpoll()voidreset()voidset(KeyboardState keyboardState)booleanwasPolled()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
KeyboardState
public KeyboardState()
-
-
Method Details
-
poll
public void poll() -
wasPolled
public boolean wasPolled() -
set
-
reset
public void reset() -
isCreated
public boolean isCreated() -
isKeyDown
public boolean isKeyDown(int int1) -
getKeyCount
public int getKeyCount() -
getEventQueue
-