MCPcopy Create free account
hub / github.com/WarFrontIO/client / getTile

Method getTile

src/map/GameMap.ts:41–43  ·  view source on GitHub ↗

* Get the tile at the given index. * * If you want to check if a tile is solid, use getDistance instead. * @param index The index of the tile. * @returns The tile.

(index: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

calculateAreaMapMethod · 0.95
calculateDistanceMapMethod · 0.95
resetMethod · 0.80
buildSpawnsMethod · 0.80
getSpawnPixelsMethod · 0.80
renderMethod · 0.80
rayTraceWaterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected