|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrlgamekit.pathfinding.CoordinatePathDestination
public class CoordinatePathDestination
Tell pathfinder if the destination coordinate has been reached.
| Constructor Summary | |
|---|---|
CoordinatePathDestination(int x,
int y)
Set the destination coordinate to be checked. |
|
| Method Summary | |
|---|---|
boolean |
isDestinationReached(int posX,
int posY)
Tell pathfinder if the destination coordinate has been reached. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoordinatePathDestination(int x,
int y)
x - X coordinatey - Y coordinate| Method Detail |
|---|
public boolean isDestinationReached(int posX,
int posY)
isDestinationReached in interface PathDestinationposX - The x coordinate to checkposY - The y coordinate to check
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||