AStarFinder constructor
AStarFinder({
- bool allowDiagonal = false,
- bool dontCrossCorners = false,
- HeuristicFn? heuristic,
- int weight = 1,
Implementation
AStarFinder({this.allowDiagonal: false, this.dontCrossCorners: false,
HeuristicFn? heuristic, this.weight: 1}) {
this.heuristic = heuristic == null ? Heuristic.manhattan : heuristic;
}