GameboardPatrolRouteOptions
Defined in: src/gameboard/navigation.ts:334
Options for planning one patrol route.
Extends
Section titled “Extends”Omit<GameboardSpawnLocationOptions,"count">
Properties
Section titled “Properties”count?
Section titled “count?”
optionalcount?:number
Defined in: src/gameboard/navigation.ts:338
Requested waypoint count.
edgePadding?
Section titled “edgePadding?”
optionaledgePadding?:number
Defined in: src/coordinates/grid.ts:61
Number of outer rings/rows to avoid when selecting automatic candidates.
Inherited from
Section titled “Inherited from”SpawnLocationOptions.edgePadding
elevation?
Section titled “elevation?”
optionalelevation?:number
Defined in: src/coordinates/grid.ts:63
Elevation used when projecting spawn locations to world positions.
Inherited from
Section titled “Inherited from”SpawnLocationOptions.elevation
excludeTileTags?
Section titled “excludeTileTags?”
optionalexcludeTileTags?: readonlystring[]
Defined in: src/gameboard/navigation.ts:193
Tile tags that must all be absent.
Inherited from
Section titled “Inherited from”GameboardSpawnGroupRule.excludeTileTags
optionalid?:string
Defined in: src/gameboard/navigation.ts:336
Route id.
idPrefix?
Section titled “idPrefix?”
optionalidPrefix?:string
Defined in: src/coordinates/grid.ts:65
Prefix used for generated spawn ids.
Inherited from
Section titled “Inherited from”
optionalloop?:boolean
Defined in: src/gameboard/navigation.ts:350
Whether the patrol returns to its first waypoint.
maxElevation?
Section titled “maxElevation?”
optionalmaxElevation?:number
Defined in: src/gameboard/navigation.ts:189
Maximum candidate elevation.
Inherited from
Section titled “Inherited from”GameboardSpawnLocationOptions.maxElevation
minDistance?
Section titled “minDistance?”
optionalminDistance?:number
Defined in: src/coordinates/grid.ts:59
Minimum axial distance between returned spawn coordinates.
Inherited from
Section titled “Inherited from”SpawnLocationOptions.minDistance
minElevation?
Section titled “minElevation?”
optionalminElevation?:number
Defined in: src/gameboard/navigation.ts:187
Minimum candidate elevation.
Inherited from
Section titled “Inherited from”GameboardSpawnLocationOptions.minElevation
profile?
Section titled “profile?”
optionalprofile?:GameboardNavigationProfile
Defined in: src/gameboard/navigation.ts:183
Navigation profile used to reject blocked candidates.
Inherited from
Section titled “Inherited from”GameboardSpawnLocationOptions.profile
requireCompleteRoute?
Section titled “requireCompleteRoute?”
optionalrequireCompleteRoute?:boolean
Defined in: src/gameboard/navigation.ts:352
Treat missing route segments as errors.
routeProfile?
Section titled “routeProfile?”
optionalrouteProfile?:GameboardNavigationProfile
Defined in: src/gameboard/navigation.ts:348
Navigation profile used for route segments.
optionalseed?:string|number
Defined in: src/coordinates/grid.ts:53
Seed used when candidate order must be randomized.
Inherited from
Section titled “Inherited from”spawnGroups?
Section titled “spawnGroups?”
optionalspawnGroups?:GameboardSpawnGroupPlan
Defined in: src/gameboard/navigation.ts:346
Existing spawn group plan used for start resolution.
start?
Section titled “start?”
optionalstart?:string|HexCoordinates
Defined in: src/gameboard/navigation.ts:340
Explicit start tile, actor, or key.
startGroupId?
Section titled “startGroupId?”
optionalstartGroupId?:string
Defined in: src/gameboard/navigation.ts:342
Spawn group id used for the start waypoint.
startLocationIndex?
Section titled “startLocationIndex?”
optionalstartLocationIndex?:number
Defined in: src/gameboard/navigation.ts:344
Location index within the start spawn group.
terrain?
Section titled “terrain?”
optionalterrain?:GameboardTerrain| readonlyGameboardTerrain[]
Defined in: src/gameboard/navigation.ts:185
Allowed terrain for spawn candidates.
Inherited from
Section titled “Inherited from”GameboardSpawnGroupRule.terrain
tileTags?
Section titled “tileTags?”
optionaltileTags?: readonlystring[]
Defined in: src/gameboard/navigation.ts:191
Tile tags that must all be present.