HexPathResult
Defined in: src/coordinates/coordinates.ts:41
Result from a hex pathfinding request.
Properties
Section titled “Properties”cost:
number
Defined in: src/coordinates/coordinates.ts:47
Total path cost, or positive infinity when no path is found.
found:
boolean
Defined in: src/coordinates/coordinates.ts:43
Whether a complete path was found.
path: readonly
HexCoordinates[]
Defined in: src/coordinates/coordinates.ts:45
Ordered path from start to goal, empty when no path is found.
visited
Section titled “visited”visited:
number
Defined in: src/coordinates/coordinates.ts:49
Number of nodes visited before the search stopped.