GameboardLayoutSite
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:275
Candidate or selected placement site.
Properties
Section titled “Properties”coordinates
Section titled “coordinates”coordinates:
HexCoordinates
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:281
Tile coordinates selected for placement.
footprintKeys
Section titled “footprintKeys”footprintKeys: readonly
string[]
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:297
Tile keys covered by the placement footprint.
footprintPlacements
Section titled “footprintPlacements”footprintPlacements: readonly
GameboardPlacementSpec[]
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:299
Placements on any footprint tile.
footprintTiles
Section titled “footprintTiles”footprintTiles: readonly
GameboardTileSpec[]
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:295
Tiles covered by the placement footprint.
key:
string
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:279
Tile key selected for placement.
occupied
Section titled “occupied”occupied:
boolean
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:291
Whether the tile has blocking occupants.
placements
Section titled “placements”placements: readonly
GameboardPlacementSpec[]
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:293
Placements on the origin tile.
position
Section titled “position”position:
WorldPosition
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:283
World position at the tile/elevation anchor.
reasons
Section titled “reasons”reasons: readonly
string[]
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:301
Score reasons used for diagnostics.
score:
number
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:285
Weighted score used to sort candidates.
slotIndex
Section titled “slotIndex”slotIndex:
number
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:287
Slot index chosen on the tile.
tile:
GameboardTileSpec
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:277
Tile selected for placement.
usedSlotIndexes
Section titled “usedSlotIndexes”usedSlotIndexes: readonly
number[]
Defined in: packages/declarative-hex-worlds/src/coordinates/layout.ts:289
Slot indexes already occupied before selection.