onTouch property

void Function(Point<int> coordinates, TouchAreaEvent event) onTouch
final

The function to call when the player touches or releases different parts of the screen.

Implementation

final void Function(Point<int> coordinates, TouchAreaEvent event) onTouch;