findGameboardPath
findGameboardPath(
plan,start,goal,profile?,tilesByKey?,occupancy?):GameboardNavigationPathResult
Defined in: src/gameboard/navigation.ts:517
Find the lowest-cost path between two tiles under a navigation profile.
Parameters
Section titled “Parameters”string | HexCoordinates
string | HexCoordinates
profile?
Section titled “profile?”GameboardNavigationProfile = {}
tilesByKey?
Section titled “tilesByKey?”ReadonlyMap<string, GameboardTileSpec> = ...
occupancy?
Section titled “occupancy?”GameboardOccupancyIndex = ...