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

Function findPlayerTile

src/map/area/BoatPathfinding.ts:227–257  ·  view source on GitHub ↗

* Finds the closest water tile allowing creation of a boat. * The territory tile bordering the tile in question does not have to be in the same area. * @param start The starting position. * @returns The closest water tile and the distance to it. * @throws UnsupportedDataException if no suitable

(start: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

findStartingPointFunction · 0.85

Calls 2

isOwnerMethod · 0.80
getDistanceMethod · 0.80

Tested by

no test coverage detected