Package | Description |
---|---|
com.b3dgs.lionengine.game.pathfinding | |
com.b3dgs.lionengine.game.pathfinding.map |
Modifier and Type | Class and Description |
---|---|
class |
PathfindableModel
Pathfindable implementation.
|
Modifier and Type | Method and Description |
---|---|
Path |
PathFinder.findPath(Pathfindable mover,
int sx,
int sy,
int dx,
int dy,
boolean ignoreRef)
Find a path from the starting location provided to the destination location avoiding blockages and attempting to
honor costs provided by the tile map.
|
Modifier and Type | Method and Description |
---|---|
double |
MapTilePath.getCost(Pathfindable mover,
int sx,
int sy,
int dx,
int dy)
Get the cost of the complete path, from start till end.
|
boolean |
MapTilePath.isBlocked(Pathfindable mover,
int dx,
int dy,
boolean ignoreRef)
Check if current location is blocking or not.
|
Copyright © 2014 Byron 3D Games Studio. All rights reserved.