code: public void dispatchEvent(IEvent event) {
          for (IEventListener listener : listeners) {
              if (event.getSource() == null || event.getSource() != listener) {
                  listener.notifyEvent(event);
              }
          }
      }
docs: Dispatches event (notifies all listeners)
  
  @param event Event to dispatch