Package zombie.input
Class GameKeyboard
java.lang.Object
zombie.input.GameKeyboard
public final class GameKeyboard
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static boolean
bNoEventsWhileLoading
static boolean
doLuaKeyPressed
-
Constructor Summary
Constructors Constructor Description GameKeyboard()
-
Method Summary
Modifier and Type Method Description static void
eatKeyPress(int int1)
static KeyEventQueue
getEventQueue()
static KeyEventQueue
getEventQueuePolling()
static boolean
isKeyDown(int int1)
static boolean
isKeyPressed(int int1)
static void
poll()
static void
setDoLuaKeyPressed(boolean boolean1)
static void
update()
static boolean
wasKeyDown(int int1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
bNoEventsWhileLoading
public static boolean bNoEventsWhileLoading -
doLuaKeyPressed
public static boolean doLuaKeyPressed
-
-
Constructor Details
-
GameKeyboard
public GameKeyboard()
-
-
Method Details
-
update
public static void update() -
poll
public static void poll() -
isKeyPressed
public static boolean isKeyPressed(int int1) -
isKeyDown
public static boolean isKeyDown(int int1) -
wasKeyDown
public static boolean wasKeyDown(int int1) -
eatKeyPress
public static void eatKeyPress(int int1) -
setDoLuaKeyPressed
public static void setDoLuaKeyPressed(boolean boolean1) -
getEventQueue
-
getEventQueuePolling
-