|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.rico.engine.path.PathFinder
public class PathFinder
A class that provides static methods to return a path from the characters start location to his target location by constructing a list of Walk game actions,
Constructor Summary | |
---|---|
PathFinder()
|
Method Summary | |
---|---|
static Path |
getPath(Point3D start,
Point3D dest,
SearchGrid grid)
Returns a path from the specified start location to the specified destination. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathFinder()
Method Detail |
---|
public static Path getPath(Point3D start, Point3D dest, SearchGrid grid)
start
- point that represents the start loactiondest
- point that represent the destinationgrid
- search grid to find the path
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |