handlerPointerDown method
Implementation
@override
bool handlerPointerDown(PointerDownEvent event) {
final gEvent = GestureEvent.fromPointerEvent(
event,
screenToWorld: gameRef.screenToWorld,
globalToViewportPosition: gameRef.globalToViewportPosition,
);
if (!_fingers.contains(event.pointer)) {
_fingers.add(
FingerPoint(
id: gEvent.pointer,
position: gEvent.screenPosition,
),
);
}
return super.handlerPointerDown(event);
}