Skip to content

gameboardPlacementOccupiesTile

gameboardPlacementOccupiesTile(placement, tileKey, options?): boolean

Defined in: src/gameboard/occupancy.ts:58

Checks whether a placement footprint includes a tile key.

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

string

Pick<GameboardPlacementOccupancyOptions, "includeLayoutFootprint"> = {}

boolean