Package com.prineside.tdi2.events.game
Class MouseClick
java.lang.Object
com.prineside.tdi2.events.StoppableEvent
com.prineside.tdi2.events.game.MouseClick
- All Implemented Interfaces:
Event
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.prineside.tdi2.events.StoppableEvent
isStopped, stop
-
Constructor Details
-
MouseClick
public MouseClick(float mapX, float mapY, int pointer, int button)
-
-
Method Details
-
getMapX
public float getMapX() -
getMapY
public float getMapY() -
getPointer
public int getPointer()- Returns:
- -1 if simple mouse move or touch pointer if mouse button is being held. MouseClick will have the same pointer later
-
getButton
public int getButton()
-