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

Method isOnMap

src/game/action/MapNavigationHandler.ts:108–110  ·  view source on GitHub ↗

* Checks if the given screen coordinates are on the map. * Not to be confused with map coordinates (This method does not convert screen coordinates to map coordinates). * @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

testMethod · 0.80

Calls

no outgoing calls

Tested by 1

testMethod · 0.64