Class KeyStrokeMessage


  • public final class KeyStrokeMessage
    extends InternalMessage
    Message sent by game client engine on any key stroke. You may want to use the respective callback provided by ClientModule instead.
    • Constructor Detail

      • KeyStrokeMessage

        public KeyStrokeMessage​(boolean released,
                                int code,
                                String key,
                                int modifiers)
    • Method Detail

      • isReleased

        public boolean isReleased()
      • setReleased

        public void setReleased​(boolean released)
      • getKey

        public String getKey()
      • setKey

        public void setKey​(String key)
      • getModifiers

        public int getModifiers()
      • setModifiers

        public void setModifiers​(int modifiers)
      • getCode

        public int getCode()
      • setCode

        public void setCode​(int code)