Skip to content

GameboardSpawnGroupRouteRecord

Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:188

Interop route-check record between spawn groups.

cost: number

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:82

Route cost.

GameboardSpawnGroupRoute.cost


found: boolean

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:74

Whether a route was found.

GameboardSpawnGroupRoute.found


fromGroupId: string

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:70

Source group id.

GameboardSpawnGroupRoute.fromGroupId


optional fromKey?: string

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:76

Source location tile key.

GameboardSpawnGroupRoute.fromKey


pathKeys: readonly string[]

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:80

Path tile keys for the best route.

GameboardSpawnGroupRoute.pathKeys


toGroupId: string

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:72

Target group id.

GameboardSpawnGroupRoute.toGroupId


optional toKey?: string

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:78

Target location tile key.

GameboardSpawnGroupRoute.toKey


visited: number

Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:84

Number of nodes visited by the pathfinder.

GameboardSpawnGroupRoute.visited