Class Input

java.lang.Object
buildengine.engine.input.Input

public class Input extends Object
Contains static instances of Mouse and Keyboard. Main way to register and access mouse and keyboard input.
See Also:
  • Method Details

    • init

      public static void init(Display display)
      Mouse & Keyboard init and adding listeners to display
    • pollEvents

      public static void pollEvents()
      Updating mouse and keyboard after input loop
    • reset

      public static void reset()
      Reset all input
    • getMouse

      public static Mouse getMouse()
    • getKeyboard

      public static Keyboard getKeyboard()