|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject wyvern.lib.event.MapMotionEvent
Event fired when an object being tracked by a MapMotionListener moves in a map.
Field Summary |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
MapMotionEvent(GameMap map,
GameObject obj,
int startX,
int startY,
int destX,
int destY)
Constructs a new MapMotionEvent. |
|
MapMotionEvent(GameMap map,
GameObject obj,
Point src,
Point dest)
Constructs a new MapMotionEvent |
Method Summary | |
int |
getDestX()
Returns x map location where the object ended |
int |
getDestY()
Returns y map location where the object ended |
GameMap |
getMap()
Returns map where the event occurred |
int |
getStartX()
Returns x map location where the object started |
int |
getStartY()
Returns y map location where the object started |
GameObject |
getTarget()
Returns object that moved |
java.lang.String |
toString()
|
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MapMotionEvent(GameMap map, GameObject obj, Point src, Point dest)
public MapMotionEvent(GameMap map, GameObject obj, int startX, int startY, int destX, int destY)
Method Detail |
public GameMap getMap()
public GameObject getTarget()
public int getStartX()
public int getStartY()
public int getDestX()
public int getDestY()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |