GameboardLayoutSite
Defined in: src/coordinates/layout.ts:280
Candidate or selected placement site.
Properties
Section titled “Properties”coordinates
Section titled “coordinates”coordinates:
HexCoordinates
Defined in: src/coordinates/layout.ts:286
Tile coordinates selected for placement.
footprintKeys
Section titled “footprintKeys”footprintKeys: readonly
string[]
Defined in: src/coordinates/layout.ts:302
Tile keys covered by the placement footprint.
footprintPlacements
Section titled “footprintPlacements”footprintPlacements: readonly
GameboardPlacementSpec[]
Defined in: src/coordinates/layout.ts:304
Placements on any footprint tile.
footprintTiles
Section titled “footprintTiles”footprintTiles: readonly
GameboardTileSpec[]
Defined in: src/coordinates/layout.ts:300
Tiles covered by the placement footprint.
key:
string
Defined in: src/coordinates/layout.ts:284
Tile key selected for placement.
occupied
Section titled “occupied”occupied:
boolean
Defined in: src/coordinates/layout.ts:296
Whether the tile has blocking occupants.
placements
Section titled “placements”placements: readonly
GameboardPlacementSpec[]
Defined in: src/coordinates/layout.ts:298
Placements on the origin tile.
position
Section titled “position”position:
WorldPosition
Defined in: src/coordinates/layout.ts:288
World position at the tile/elevation anchor.
reasons
Section titled “reasons”reasons: readonly
string[]
Defined in: src/coordinates/layout.ts:306
Score reasons used for diagnostics.
score:
number
Defined in: src/coordinates/layout.ts:290
Weighted score used to sort candidates.
slotIndex
Section titled “slotIndex”slotIndex:
number
Defined in: src/coordinates/layout.ts:292
Slot index chosen on the tile.
tile:
GameboardTileSpec
Defined in: src/coordinates/layout.ts:282
Tile selected for placement.
usedSlotIndexes
Section titled “usedSlotIndexes”usedSlotIndexes: readonly
number[]
Defined in: src/coordinates/layout.ts:294
Slot indexes already occupied before selection.