GameboardSpawnLocationOptions
Defined in: src/gameboard/navigation.ts:180
Options for selecting spawn locations from a gameboard plan.
Extends
Section titled “Extends”Omit<SpawnLocationOptions,"shape"|"candidates"|"passable">
Extended by
Section titled “Extended by”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.
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.
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.
profile?
Section titled “profile?”
optionalprofile?:GameboardNavigationProfile
Defined in: src/gameboard/navigation.ts:183
Navigation profile used to reject blocked candidates.
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.
tileTags?
Section titled “tileTags?”
optionaltileTags?: readonlystring[]
Defined in: src/gameboard/navigation.ts:191
Tile tags that must all be present.