public class MapInputEvent extends AMXEvent
Constructor and Description |
---|
MapInputEvent()
Creates a new MapInputEvent
|
MapInputEvent(String type,
Object pointX,
Object pointY)
Creates a new MapInputEvent with point location info.
|
Modifier and Type | Method and Description |
---|---|
Object |
getPointX()
Returns the x coordinate of the point.
|
Object |
getPointY()
Returns the y coordinate of the point.
|
String |
getType()
Returns the type of the event.
|
void |
setPointX(Object pointX)
Sets the x coordinate of the point.
|
void |
setPointY(Object pointY)
Sets the y coordinate of the point.
|
void |
setType(String type)
Sets the type of the event.
|
public MapInputEvent()
public MapInputEvent(String type, Object pointX, Object pointY)
type
- event typepointX
- x coordinate of the event pointpointY
- y coordinate of the event pointpublic void setType(String type)
type
- type namepublic String getType()
public void setPointX(Object pointX)
pointX
- x coordinatepublic Object getPointX()
public void setPointY(Object pointY)
pointY
- y coordinatepublic Object getPointY()