class Surface
package kha.input
Static methods
Methods
notify(touchStartListener:(id:Int, x:Int, y:Int) ‑> Void, touchEndListener:(id:Int, x:Int, y:Int) ‑> Void, moveListener:(id:Int, x:Int, y:Int) ‑> Void):Void
Creates event handlers from passed functions.
Parameters:
touchStartListener | function with |
---|---|
touchEndListener | function with |
moveListener | function with |