|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Mover | |
---|---|
org.newdawn.slick.util.pathfinding | A set of classes to provide configurable A* path finding on tilebased maps |
org.newdawn.slick.util.pathfinding.heuristics |
Uses of Mover in org.newdawn.slick.util.pathfinding |
---|
Methods in org.newdawn.slick.util.pathfinding that return Mover | |
---|---|
Mover |
AStarPathFinder.getMover()
|
Mover |
PathFindingContext.getMover()
Get the object being moved along the path if any |
Methods in org.newdawn.slick.util.pathfinding with parameters of type Mover | |
---|---|
Path |
AStarPathFinder.findPath(Mover mover,
int sx,
int sy,
int tx,
int ty)
|
Path |
PathFinder.findPath(Mover mover,
int sx,
int sy,
int tx,
int ty)
Find a path from the starting location provided (sx,sy) to the target location (tx,ty) avoiding blockages and attempting to honour costs provided by the tile map. |
float |
AStarHeuristic.getCost(TileBasedMap map,
Mover mover,
int x,
int y,
int tx,
int ty)
Get the additional heuristic cost of the given tile. |
float |
AStarPathFinder.getHeuristicCost(Mover mover,
int x,
int y,
int tx,
int ty)
Get the heuristic cost for the given location. |
float |
AStarPathFinder.getMovementCost(Mover mover,
int sx,
int sy,
int tx,
int ty)
Get the cost to move through a given location |
protected boolean |
AStarPathFinder.isValidLocation(Mover mover,
int sx,
int sy,
int x,
int y)
Check if a given location is valid for the supplied mover |
Uses of Mover in org.newdawn.slick.util.pathfinding.heuristics |
---|
Methods in org.newdawn.slick.util.pathfinding.heuristics with parameters of type Mover | |
---|---|
float |
ClosestHeuristic.getCost(TileBasedMap map,
Mover mover,
int x,
int y,
int tx,
int ty)
|
float |
ClosestSquaredHeuristic.getCost(TileBasedMap map,
Mover mover,
int x,
int y,
int tx,
int ty)
|
float |
ManhattanHeuristic.getCost(TileBasedMap map,
Mover mover,
int x,
int y,
int tx,
int ty)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |