add
fun <E : Event> add(eventType: EventType<E>, handler: EventHandler<E>, combination: HandlerCombination)
Adds a handler for a specific eventType. If there is already a handler for this event type, then the two are merged into a CompoundEventHandler
, and find will return the compound.