handlerPointerDown method
Implementation
@override
bool handlerPointerDown(PointerDownEvent event) {
_startPoint = event.position.toVector2();
_startCameraPosition = gameRef.camera.position;
return super.handlerPointerDown(event);
}
@override
bool handlerPointerDown(PointerDownEvent event) {
_startPoint = event.position.toVector2();
_startCameraPosition = gameRef.camera.position;
return super.handlerPointerDown(event);
}