public final class MazeSolver extends AStarLogic
| Constructor and Description |
|---|
MazeSolver() |
| Modifier and Type | Method and Description |
|---|---|
protected List<AStarNode> |
getValidNeighbors(AStarNode node,
AStarNode[][] grid,
AStarNode... busyNodes)
Adaptation from vanilla A* to cater for walls.
|
getPathprotected List<AStarNode> getValidNeighbors(AStarNode node, AStarNode[][] grid, AStarNode... busyNodes)
getValidNeighbors in class AStarLogicnode - the A* nodegrid - the A* gridbusyNodes - nodes which are busy, i.e. walkable but have a temporary obstacleCopyright © 2017. All rights reserved.