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

Method getIndex

src/game/action/MapNavigationHandler.ts:117–119  ·  view source on GitHub ↗

* Converts screen coordinates to a map tile index. * @param x The x-coordinate on the screen. * @param y The y-coordinate on the screen.

(x: number, y: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

onClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected