public class ClientGuiMouseClickEvent extends ClientGuiEvent
| Modifier and Type | Field and Description |
|---|---|
int |
eventBtn |
boolean |
eventState |
int |
x |
int |
y |
| Constructor and Description |
|---|
ClientGuiMouseClickEvent(int evButton,
boolean eventState,
int x,
int y,
BridgePlayer player,
String gui,
boolean mac)
To construct an Event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getButtonState()
Returns the state of the event button
|
int |
getEventButton()
Returns the mouse button used.
|
getEventType, getGuiName, getHandlerList, getHandlers, getPlayer, isCancelled, setCancelledpublic int eventBtn
public int x
public int y
public boolean eventState
public ClientGuiMouseClickEvent(int evButton,
boolean eventState,
int x,
int y,
BridgePlayer player,
String gui,
boolean mac)
evButton - (the mouse button that caused the event)eventState - (the state of the mouse button)x - (the x coord of the mouse)y - (the y coord of the mouse)player - (the BridgePlayer that caused the event)gui - (the name of the GUI that the event occured in)