Skip to content

gameboardPlacementOccupiesTile

gameboardPlacementOccupiesTile(placement, tileKey, options?): boolean

Defined in: packages/declarative-hex-worlds/src/gameboard/occupancy.ts:58

Checks whether a placement footprint includes a tile key.

Pick<GameboardPlacementSpec, "tileKey" | "metadata">

string

Pick<GameboardPlacementOccupancyOptions, "includeLayoutFootprint"> = {}

boolean