Class Keyboard.Key

java.lang.Object
dev.kyzel.utils.Keyboard.Key
Enclosing class:
Keyboard

public static class Keyboard.Key extends Object
The class that holds properties of a key.
  • Field Details

    • down

      public boolean down
      A variable to see if the key is pressed down.
    • pressed

      public boolean pressed
      A variable to see if the key is pressed.
    • last

      public boolean last
      A variable to check the last state of the key.
  • Constructor Details

    • Key

      public Key()
      Creates a new Key.