Skip to content

findTileEntity

findTileEntity(world, coordinates): Entity | undefined

Defined in: packages/declarative-hex-worlds/src/koota/koota.ts:619

Find a tile entity by axial coordinates or tile key. O(1) via per-world index maintained by spawnGameboardPlan / clearGameboardWorld.

World

string | HexCoordinates

Entity | undefined