|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Pathfindable in com.b3dgs.lionengine |
---|
Methods in com.b3dgs.lionengine that return Pathfindable | |
---|---|
Pathfindable |
Purview.createPathfindable(PathBasedMap<? extends AbstractPathTile> map,
int id)
Create a pathfindable purview. |
Uses of Pathfindable in com.b3dgs.lionengine.game.hacknslash |
---|
Uses of Pathfindable in com.b3dgs.lionengine.game.map |
---|
Methods in com.b3dgs.lionengine.game.map with parameters of type Pathfindable | |
---|---|
boolean |
AbstractPathMap.blocked(Pathfindable mover,
int v,
int h,
boolean ignoreRef)
|
boolean |
PathBasedMap.blocked(Pathfindable mover,
int v,
int h,
boolean ignoreRef)
Check if current location is blocking or not. |
float |
AbstractPathMap.getCost(Pathfindable mover,
int sx,
int sy,
int tx,
int ty)
|
float |
PathBasedMap.getCost(Pathfindable mover,
int sx,
int sy,
int tx,
int ty)
Get the cost of the complete path, from start till end. |
TTile |
AbstractPathMap.getTileArround(Pathfindable mover,
int v,
int h,
int width,
int height)
|
TTile |
PathBasedMap.getTileArround(Pathfindable mover,
int v,
int h,
int width,
int height)
Search the first unblocking tile arround location (clock way). |
Uses of Pathfindable in com.b3dgs.lionengine.game.pathfinding |
---|
Methods in com.b3dgs.lionengine.game.pathfinding with parameters of type Pathfindable | |
---|---|
Path |
AStarPathFinder.findPath(Pathfindable mover,
int sx,
int sy,
int tx,
int ty,
boolean ignoreRef)
|
Path |
PathFinder.findPath(Pathfindable mover,
int sx,
int sy,
int tx,
int ty,
boolean ignoreRef)
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,
Pathfindable mover,
int x,
int y,
int tx,
int ty)
This controls the order in which tiles are searched while attempting to find a path to the target location. |
float |
ClosestHeuristic.getCost(PathBasedMap<? extends AbstractPathTile> map,
Pathfindable mover,
int x,
int y,
int tx,
int ty)
|
float |
ClosestSquaredHeuristic.getCost(PathBasedMap<? extends AbstractPathTile> map,
Pathfindable mover,
int x,
int y,
int tx,
int ty)
|
float |
ManhattanHeuristic.getCost(PathBasedMap<? extends AbstractPathTile> map,
Pathfindable mover,
int x,
int y,
int tx,
int ty)
|
float |
AStarPathFinder.getHeuristicCost(Pathfindable mover,
int x,
int y,
int tx,
int ty)
Get the heuristic cost for the given location. |
float |
AStarPathFinder.getMovementCost(Pathfindable mover,
int sx,
int sy,
int tx,
int ty)
Get the cost to move through a given location. |
protected boolean |
AStarPathFinder.isValidLocation(Pathfindable mover,
int sx,
int sy,
int x,
int y,
boolean ignoreRef)
Check if a given location is valid for the supplied mover. |
Uses of Pathfindable in com.b3dgs.lionengine.game.purviews.impl |
---|
Methods in com.b3dgs.lionengine.game.purviews.impl that return Pathfindable | |
---|---|
Pathfindable |
PurviewFactory.createPathfindable(PathBasedMap<? extends AbstractPathTile> map,
int id)
|
Uses of Pathfindable in com.b3dgs.lionengine.game.strategy |
---|
Classes in com.b3dgs.lionengine.game.strategy that implement Pathfindable | |
---|---|
class |
AbstractUnit<TTile extends AbstractPathTile,TSkill extends AbstractSkill<TTile,TSkill,TAttr>,TAttr extends AbstractAttributes>
This class represents the main type for any kind of units. |
Fields in com.b3dgs.lionengine.game.strategy declared as Pathfindable | |
---|---|
protected Pathfindable |
AbstractUnit.pathfindable
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |