|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Indicates that the object can be "fired" in a certain direction.
Method Summary | |
void |
fireDirection(Commandable agent,
int dir)
Tells the object to fire itself in the specified direction. |
void |
fireLocation(Commandable agent,
Point target)
Tells the object to fire itself along the line specified from the agent to a destination point. |
Method Detail |
public void fireDirection(Commandable agent, int dir)
agent
- the agent firing the objectdir
- a wyvern.lib.Direction cardinal directionpublic void fireLocation(Commandable agent, Point target)
agent
- the agent firing the objecttarget
- the destination point, perhaps chosen using
the mouse.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |