Class KeyStrokeMessage
- java.lang.Object
-
- de.extio.spacecraft.shared.model.message.AbstractMessage
-
- de.extio.spacecraft.shared.model.message.client_internal.InternalMessage
-
- de.extio.spacecraft.shared.model.message.client_internal.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 Summary
Constructors Constructor Description KeyStrokeMessage(boolean released, int code, String key, int modifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
String
getKey()
int
getModifiers()
boolean
isReleased()
void
setCode(int code)
void
setKey(String key)
void
setModifiers(int modifiers)
void
setReleased(boolean released)
-
Methods inherited from class de.extio.spacecraft.shared.model.message.AbstractMessage
toString
-
-
-
-
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)
-
-