Package | Description |
---|---|
com.b3dgs.lionengine.game.feature.tile.map.pathfinding |
A-Star algorithm implementation, allowing to search a path on a
MapTilePath . |
Modifier and Type | Method and Description |
---|---|
static MovementTile |
MovementTile.from(int sx,
int sy)
Get movement from tile movement.
|
static MovementTile |
MovementTile.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MovementTile[] |
MovementTile.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Collection<MovementTile> |
PathData.getAllowedMovements()
Get the allowed movements.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PathfindableModel.isMovementAllowed(String category,
MovementTile movement) |
boolean |
Pathfindable.isMovementAllowed(String category,
MovementTile movement)
Check if movement is allowed for the specified tile.
|
Constructor and Description |
---|
PathData(String category,
double cost,
boolean blocking,
Collection<MovementTile> movements)
Create a path data.
|
Copyright © 2017 Byron 3D Games Studio. All rights reserved.