GameboardScenarioPatrolRoute
Defined in: packages/declarative-hex-worlds/src/scenario/scenario.ts:86
Patrol route rule embedded in a scenario.
Extends
Section titled “Extends”Properties
Section titled “Properties”count?
Section titled “count?”
optionalcount?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:73
Requested waypoint count.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.count
edgePadding?
Section titled “edgePadding?”
optionaledgePadding?:number
Defined in: packages/declarative-hex-worlds/src/coordinates/grid.ts:87
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: packages/declarative-hex-worlds/src/coordinates/grid.ts:89
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: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:34
Tile tags that must all be absent.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.excludeTileTags
id:
string
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:95
Stable route id.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.id
idPrefix?
Section titled “idPrefix?”
optionalidPrefix?:string
Defined in: packages/declarative-hex-worlds/src/coordinates/grid.ts:91
Prefix used for generated spawn ids.
Inherited from
Section titled “Inherited from”
optionalloop?:boolean
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:85
Whether the patrol returns to its first waypoint.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.loop
maxElevation?
Section titled “maxElevation?”
optionalmaxElevation?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:30
Maximum candidate elevation.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.maxElevation
minDistance?
Section titled “minDistance?”
optionalminDistance?:number
Defined in: packages/declarative-hex-worlds/src/coordinates/grid.ts:85
Minimum axial distance between returned spawn coordinates.
Inherited from
Section titled “Inherited from”SpawnLocationOptions.minDistance
minElevation?
Section titled “minElevation?”
optionalminElevation?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:28
Minimum candidate elevation.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.minElevation
profile?
Section titled “profile?”
optionalprofile?:GameboardNavigationProfile
Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:24
Navigation profile used to reject blocked candidates.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.profile
requireCompleteRoute?
Section titled “requireCompleteRoute?”
optionalrequireCompleteRoute?:boolean
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:87
Treat missing route segments as errors.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.requireCompleteRoute
routeProfile?
Section titled “routeProfile?”
optionalrouteProfile?:GameboardNavigationProfile
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:83
Navigation profile used for route segments.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.routeProfile
optionalseed?:string|number
Defined in: packages/declarative-hex-worlds/src/coordinates/grid.ts:79
Seed used when candidate order must be randomized.
Inherited from
Section titled “Inherited from”start?
Section titled “start?”
optionalstart?:string|HexCoordinates
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:75
Explicit start tile, actor, or key.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.start
startGroupId?
Section titled “startGroupId?”
optionalstartGroupId?:string
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:77
Spawn group id used for the start waypoint.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.startGroupId
startLocationIndex?
Section titled “startLocationIndex?”
optionalstartLocationIndex?:number
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:79
Location index within the start spawn group.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.startLocationIndex
terrain?
Section titled “terrain?”
optionalterrain?:GameboardTerrain| readonlyGameboardTerrain[]
Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:26
Allowed terrain for spawn candidates.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.terrain
tileTags?
Section titled “tileTags?”
optionaltileTags?: readonlystring[]
Defined in: packages/declarative-hex-worlds/src/gameboard/spawn-groups.ts:32
Tile tags that must all be present.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteRule.tileTags