Package | Description |
---|---|
com.b3dgs.lionengine.game.pathfinding |
A-Star algorithm implementation, allowing to search a path on a
MapTilePath . |
Modifier and Type | Class and Description |
---|---|
class |
HeuristicClosest
A heuristic that uses the tile that is closest to the target as the next best tile.
|
class |
HeuristicClosestSquared
A heuristic that uses the tile that is closest to the target as the next best tile.
|
class |
HeuristicManhattan
A heuristic that drives the search based on the Manhattan distance between the current location and the target.
|
Modifier and Type | Method and Description |
---|---|
static Heuristic |
Astar.createHeuristicClosest()
Create the closest heuristic.
|
static Heuristic |
Astar.createHeuristicClosestSquared()
Create the closest squared heuristic.
|
static Heuristic |
Astar.createHeuristicManhattan(int minimumCost)
Create the closest heuristic.
|
Modifier and Type | Method and Description |
---|---|
static PathFinder |
Astar.createPathFinder(MapTile map,
int maxSearchDistance,
Heuristic heuristic)
Create a path finder.
|
Copyright © 2016 Byron 3D Games Studio. All rights reserved.