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

Function onNeighborWater

src/map/area/BoatPathfinding.ts:264–274  ·  view source on GitHub ↗

* Calls the closure for all water tiles neighboring the given tile (including the tile itself). * @param tile The tile to check. * @param closure The closure to call.

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

calculateBoatWaypointsFunction · 0.85
findPathInAreaFunction · 0.85
findStartingPointFunction · 0.85

Calls 1

getDistanceMethod · 0.80

Tested by

no test coverage detected