Package | Description |
---|---|
com.b3dgs.lionengine.game.map | |
com.b3dgs.lionengine.game.pathfinding | |
com.b3dgs.lionengine.game.strategy | |
demo.strategy |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractPathMap.blocked(PathMover mover,
int v,
int h) |
boolean |
PathBasedMap.blocked(PathMover mover,
int v,
int h)
Check if current location is blocking or not.
|
float |
AbstractPathMap.getCost(PathMover mover,
int sx,
int sy,
int tx,
int ty) |
float |
PathBasedMap.getCost(PathMover mover,
int sx,
int sy,
int tx,
int ty)
Get the cost of the complete path, from start till end.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPathMover |
Modifier and Type | Method and Description |
---|---|
Path |
AStarPathFinder.findPath(PathMover mover,
int sx,
int sy,
int tx,
int ty) |
Path |
PathFinder.findPath(PathMover 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(PathBasedMap<? extends AbstractPathTile> map,
PathMover mover,
int x,
int y,
int tx,
int ty)
Get the additional heuristic cost of the given tile.
|
float |
ClosestHeuristic.getCost(PathBasedMap<? extends AbstractPathTile> map,
PathMover mover,
int x,
int y,
int tx,
int ty) |
float |
ClosestSquaredHeuristic.getCost(PathBasedMap<? extends AbstractPathTile> map,
PathMover mover,
int x,
int y,
int tx,
int ty) |
float |
ManhattanHeuristic.getCost(PathBasedMap<? extends AbstractPathTile> map,
PathMover mover,
int x,
int y,
int tx,
int ty) |
float |
AStarPathFinder.getHeuristicCost(PathMover mover,
int x,
int y,
int tx,
int ty)
Get the heuristic cost for the given location.
|
float |
AStarPathFinder.getMovementCost(PathMover mover,
int sx,
int sy,
int tx,
int ty)
Get the cost to move through a given location.
|
protected boolean |
AStarPathFinder.isValidLocation(PathMover mover,
int sx,
int sy,
int x,
int y)
Check if a given location is valid for the supplied mover.
|
Modifier and Type | Class and Description |
---|---|
class |
Unit |
Modifier and Type | Class and Description |
---|---|
class |
Player |