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.
Parameters
Section titled “Parameters”World
coordinates
Section titled “coordinates”string | HexCoordinates
Returns
Section titled “Returns”Entity | undefined