Class MouseClickMessage
- 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.MouseMessage
-
- de.extio.spacecraft.shared.model.message.client_internal.MouseClickMessage
-
public final class MouseClickMessage extends MouseMessage
Message sent by game client engine on any mouse click. You may want to use the respective callback provided by ClientModule instead.
-
-
Constructor Summary
Constructors Constructor Description MouseClickMessage(boolean pressed, int modifiers, int button, CoordI2 coord)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getButton()
boolean
isPressed()
void
setButton(int button)
void
setPressed(boolean pressed)
-
Methods inherited from class de.extio.spacecraft.shared.model.message.client_internal.MouseMessage
getCoord, getModifiers, setCoord, setModifiers
-
Methods inherited from class de.extio.spacecraft.shared.model.message.AbstractMessage
toString
-
-
-
-
Constructor Detail
-
MouseClickMessage
public MouseClickMessage(boolean pressed, int modifiers, int button, CoordI2 coord)
-
-