MCPcopy Create free account
hub / github.com/ProbableTrain/MapGenerator / register

Method register

src/ts/ui/drag_controller.ts:105–122  ·  view source on GitHub ↗

* @param {(() => Vector)} Gets centre point * @param {((v: Vector) => void)} Called on move with delta vector * @param {(() => void)} Called on start * @returns {(() => void)} Function to deregister callback

(getCentre: (() => Vector),
             onMove: ((v: Vector) => void),
             onStart: (() => void),
             )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

addFieldMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected