handlerPointerDown method

  1. @override
bool handlerPointerDown(
  1. PointerDownEvent event
)
override

Implementation

@override
bool handlerPointerDown(PointerDownEvent event) {
  directional?.directionalDown(event.pointer, event.localPosition);
  for (JoystickAction action in actions) {
    action.actionDown(event.pointer, event.localPosition);
  }
  return super.handlerPointerDown(event);
}