class ImplicitDispatchTrigger implements EventHandler {

  @Override
  public void onEvent(Object event) {
    if (!(event instanceof TCSObjectEvent)) {
      return;
    }
    TCSObjectEvent objectEvent = (TCSObjectEvent) event;
    if (objectEvent.getCurrentOrPreviousObjectState() instanceof Vehicle) {
      checkVehicleChange((Vehicle) objectEvent.getPreviousObjectState(),
                         (Vehicle) objectEvent.getCurrentObjectState());
    }
  }

  public  ImplicitDispatchTrigger(Dispatcher dispatcher);

}