Package zombie.input

Class GameKeyboard

java.lang.Object
zombie.input.GameKeyboard

public class GameKeyboard
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    static boolean doLuaKeyPressed  
  • Constructor Summary

    Constructors
    Constructor Description
    GameKeyboard()  
  • Method Summary

    Modifier and Type Method Description
    static void eatKeyPress​(int key)  
    static boolean isKeyDown​(int key)  
    static void setDoLuaKeyPressed​(boolean doIt)  
    static void update()  
    static boolean wasKeyDown​(int key)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • doLuaKeyPressed

      public static boolean doLuaKeyPressed
  • Constructor Details

    • GameKeyboard

      public GameKeyboard()
  • Method Details

    • update

      public static void update()
    • isKeyDown

      public static boolean isKeyDown​(int key)
    • wasKeyDown

      public static boolean wasKeyDown​(int key)
    • eatKeyPress

      public static void eatKeyPress​(int key)
    • setDoLuaKeyPressed

      public static void setDoLuaKeyPressed​(boolean doIt)