|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
Point |
checkPosition(Point p)
Checks if the position is acceptable. |
boolean |
move(MoveableAgent a,
Point p)
Tries to move the agent to a new position. if the position is not acceptable, false is returned and position is not changed. |
Point |
setPosition(MoveableAgent a,
Point p)
Sets the position for the agent. |
Method Detail |
public Point setPosition(MoveableAgent a, Point p)
public Point checkPosition(Point p)
public boolean move(MoveableAgent a, Point p)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |