Skip to content

GameboardSpawnGroupRule

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

Rule for selecting one spawn group and checking routes to earlier groups.

count: number

Defined in: src/coordinates/grid.ts:51

Number of spawn locations to return.

SpawnLocationOptions.count


optional edgePadding?: number

Defined in: src/coordinates/grid.ts:61

Number of outer rings/rows to avoid when selecting automatic candidates.

SpawnLocationOptions.edgePadding


optional elevation?: number

Defined in: src/coordinates/grid.ts:63

Elevation used when projecting spawn locations to world positions.

SpawnLocationOptions.elevation


optional excludeTileTags?: readonly string[]

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

Tile tags that must all be absent.

GameboardSpawnGroupRule.excludeTileTags


id: string

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

Stable spawn group id.


optional idPrefix?: string

Defined in: src/coordinates/grid.ts:65

Prefix used for generated spawn ids.

SpawnLocationOptions.idPrefix


optional maxElevation?: number

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

Maximum candidate elevation.

GameboardSpawnLocationOptions.maxElevation


optional minDistance?: number

Defined in: src/coordinates/grid.ts:59

Minimum axial distance between returned spawn coordinates.

SpawnLocationOptions.minDistance


optional minDistanceFromGroups?: number

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

Minimum distance from locations selected by previous groups.


optional minElevation?: number

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

Minimum candidate elevation.

GameboardSpawnLocationOptions.minElevation


optional pathToGroups?: readonly string[]

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

Previous group ids that must be path-checked from this group.


optional profile?: GameboardNavigationProfile

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

Navigation profile used to reject blocked candidates.

GameboardSpawnLocationOptions.profile


optional requirePathToGroups?: boolean

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

Treat missing routes to pathToGroups as errors.


optional routeProfile?: GameboardNavigationProfile

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

Navigation profile used only for route checks.


optional seed?: string | number

Defined in: src/coordinates/grid.ts:53

Seed used when candidate order must be randomized.

SpawnLocationOptions.seed


optional terrain?: GameboardTerrain | readonly GameboardTerrain[]

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

Allowed terrain for spawn candidates.

GameboardSpawnGroupRule.terrain


optional tileTags?: readonly string[]

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

Tile tags that must all be present.

GameboardSpawnGroupRule.tileTags