Skip to content

GameboardSpawnGroupRoute

Defined in: src/gameboard/navigation.ts:227

Route check between two spawn groups.

cost: number

Defined in: src/gameboard/navigation.ts:241

Route cost.


found: boolean

Defined in: src/gameboard/navigation.ts:233

Whether a route was found.


fromGroupId: string

Defined in: src/gameboard/navigation.ts:229

Source group id.


optional fromKey?: string

Defined in: src/gameboard/navigation.ts:235

Source location tile key.


pathKeys: readonly string[]

Defined in: src/gameboard/navigation.ts:239

Path tile keys for the best route.


toGroupId: string

Defined in: src/gameboard/navigation.ts:231

Target group id.


optional toKey?: string

Defined in: src/gameboard/navigation.ts:237

Target location tile key.


visited: number

Defined in: src/gameboard/navigation.ts:243

Number of nodes visited by the pathfinder.