onEvent method

void onEvent(
  1. Event event
)

Dispatches the event to the corresponding EventListener by using the EventDispatcher

Implementation

void onEvent(Event event) {
  EventDispatcher.eventDispatcher.dispatch(event);
}