GameboardPiecePlacementOptions
Defined in: src/pieces/pieces.ts:290
Options for creating direct placement options from a piece.
Extends
Section titled “Extends”Omit<GameboardPieceLayoutRuleOptions,"fill"|"minCount"|"maxCount">
Properties
Section titled “Properties”archetypes?
Section titled “archetypes?”
optionalarchetypes?:Readonly<Record<string,GameboardLayoutArchetype>>
Defined in: src/pieces/pieces.ts:295
Archetype registry used by layout.
Overrides
Section titled “Overrides”GameboardPieceLayoutRuleOptions.archetypes
assetId?
Section titled “assetId?”
optionalassetId?:string
Defined in: src/pieces/pieces.ts:241
Asset id override.
Inherited from
Section titled “Inherited from”GameboardPieceLayoutRuleOptions.assetId
count?
Section titled “count?”
optionalcount?:number
Defined in: src/pieces/pieces.ts:243
Explicit placement count.
Inherited from
Section titled “Inherited from”GameboardPieceLayoutRuleOptions.count
criteria?
Section titled “criteria?”
optionalcriteria?:GameboardLayoutCriteria
Defined in: src/pieces/pieces.ts:253
Criteria merged over piece defaults.
Inherited from
Section titled “Inherited from”GameboardPieceLayoutRuleOptions.criteria
elevationOffset?
Section titled “elevationOffset?”
optionalelevationOffset?:number
Defined in: src/pieces/pieces.ts:259
Vertical offset override.
Inherited from
Section titled “Inherited from”GameboardPieceLayoutRuleOptions.elevationOffset
optionalid?:string
Defined in: src/pieces/pieces.ts:239
Fill rule id.
Inherited from
Section titled “Inherited from”GameboardPieceLayoutRuleOptions.id
idPrefix?
Section titled “idPrefix?”
optionalidPrefix?:string
Defined in: src/pieces/pieces.ts:251
Prefix used for generated placement ids.
Inherited from
Section titled “Inherited from”GameboardPieceLayoutRuleOptions.idPrefix
metadata?
Section titled “metadata?”
optionalmetadata?:Readonly<Record<string,string|number|boolean|null>>
Defined in: src/pieces/pieces.ts:267
Metadata merged over piece metadata.
Inherited from
Section titled “Inherited from”GameboardPieceLayoutRuleOptions.metadata
occupancyGuard?
Section titled “occupancyGuard?”
optionaloccupancyGuard?:GameboardPlacementOccupancyGuard
Defined in: src/pieces/pieces.ts:265
Optional occupancy guard for spawned placements.
Inherited from
Section titled “Inherited from”GameboardPieceLayoutRuleOptions.occupancyGuard
requiresExtra?
Section titled “requiresExtra?”
optionalrequiresExtra?:boolean
Defined in: src/pieces/pieces.ts:263
Local-only asset override.
Inherited from
Section titled “Inherited from”GameboardPieceLayoutRuleOptions.requiresExtra
rotationSteps?
Section titled “rotationSteps?”
optionalrotationSteps?:number|"random"
Defined in: src/pieces/pieces.ts:257
Rotation override.
Inherited from
Section titled “Inherited from”GameboardPieceLayoutRuleOptions.rotationSteps
scale?
Section titled “scale?”
optionalscale?:number
Defined in: src/pieces/pieces.ts:255
Uniform render scale override.
Inherited from
Section titled “Inherited from”GameboardPieceLayoutRuleOptions.scale
optionalseed?:string|number
Defined in: src/pieces/pieces.ts:293
Seed used for site selection.