Skip to content

GameboardInteractionTargetInput

GameboardInteractionTargetInput = string | HexCoordinates | { actorId?: string; coordinates?: HexCoordinates | string; placementId?: string; tileKey?: string; }

Defined in: src/actors/actors.ts:203

Input accepted by interaction helpers when resolving a target.

string


HexCoordinates


{ actorId?: string; coordinates?: HexCoordinates | string; placementId?: string; tileKey?: string; }

optional actorId?: string

Actor id to resolve directly.

optional coordinates?: HexCoordinates | string

Axial coordinates or tile key to resolve as a tile.

optional placementId?: string

Placement id to resolve directly.

optional tileKey?: string

Tile key to resolve directly.