onTouch property
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;
The function to call when the player touches or releases different parts of the screen.
final void Function(Point<int> coordinates, TouchAreaEvent event) onTouch;