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

Method onNeighbors

src/map/GameMap.ts:75–82  ·  view source on GitHub ↗

* Call a closure on all neighbors of a tile. * @param tile The tile to get the neighbors of * @param closure The closure to call on each neighbor

(tile: number, closure: (tile: number) => void)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

calculateDistanceMapMethod · 0.95
transitionTilesMethod · 0.80
addTileMethod · 0.80
removeTileMethod · 0.80
handlePlayerTileAddMethod · 0.80
addTileMethod · 0.80
removeTileMethod · 0.80
getTargetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected