class Surface
package kha.input
Methods
notify (touchStartListener:Int ‑> Int ‑> Int ‑> Void, touchEndListener:Int ‑> Int ‑> Int ‑> Void, moveListener:Int ‑> Int ‑> Int ‑> Void):Void
Creates event handlers from passed functions.
Parameters:
touchStartListener | function with |
---|---|
touchEndListener | function with |
moveListener | function with |
remove (touchStartListener:Int ‑> Int ‑> Int ‑> Void, touchEndListener:Int ‑> Int ‑> Int ‑> Void, moveListener:Int ‑> Int ‑> Int ‑> Void):Void
Removes event handlers from the passed functions that were passed to notify
function.