Skip to content

findTileEntity

findTileEntity(world, coordinates): Entity | undefined

Defined in: src/koota/koota.ts:622

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