public void register ( Object eventListener ) { Objects . requireNonNull ( eventListener , Required . EVENT_LISTENER . toString ( ) ) ; this . eventBus . register ( eventListener ) ; this . listeners . getAndIncrement ( ) ; }
Registers an event listener to the event bus