GameboardSpawnGroupRule
Defined in: src/gameboard/navigation.ts:199
Rule for selecting one spawn group and checking routes to earlier groups.
Extends
Section titled “Extends”Properties
Section titled “Properties”count:
number
Defined in: src/coordinates/grid.ts:51
Number of spawn locations to return.
Inherited from
Section titled “Inherited from”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
id:
string
Defined in: src/gameboard/navigation.ts:201
Stable spawn group 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”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
minDistanceFromGroups?
Section titled “minDistanceFromGroups?”
optionalminDistanceFromGroups?:number
Defined in: src/gameboard/navigation.ts:203
Minimum distance from locations selected by previous groups.
minElevation?
Section titled “minElevation?”
optionalminElevation?:number
Defined in: src/gameboard/navigation.ts:187
Minimum candidate elevation.
Inherited from
Section titled “Inherited from”GameboardSpawnLocationOptions.minElevation
pathToGroups?
Section titled “pathToGroups?”
optionalpathToGroups?: readonlystring[]
Defined in: src/gameboard/navigation.ts:205
Previous group ids that must be path-checked from this group.
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
requirePathToGroups?
Section titled “requirePathToGroups?”
optionalrequirePathToGroups?:boolean
Defined in: src/gameboard/navigation.ts:207
Treat missing routes to pathToGroups as errors.
routeProfile?
Section titled “routeProfile?”
optionalrouteProfile?:GameboardNavigationProfile
Defined in: src/gameboard/navigation.ts:209
Navigation profile used only for route checks.
optionalseed?:string|number
Defined in: src/coordinates/grid.ts:53
Seed used when candidate order must be randomized.
Inherited from
Section titled “Inherited from”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.