Package sig.engine

Class Key


  • public class Key
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Key​(int keycode)  
    • Constructor Detail

      • Key

        protected Key​(int keycode)
    • Method Detail

      • getKeyCode

        public int getKeyCode()
      • setKeyHeld

        public static void setKeyHeld​(int keycode,
                                      boolean pressed)
      • isHeld

        public static boolean isHeld​(int keycode)
      • isPressed

        public static boolean isPressed​(int keycode)
      • isReleased

        public static boolean isReleased​(int keycode)
      • isKeyHeld

        public boolean isKeyHeld()