Class AbstractEventManager<T extends AbstractLuteceEvent>

    • Constructor Detail

      • AbstractEventManager

        public AbstractEventManager()
    • Method Detail

      • register

        public void register​(String strName,
                             Consumer<T> consumerFunction)
        Subscribe to this listener.
        Parameters:
        listener - the listener
      • notifyListeners

        public void notifyListeners​(T event)
        Subscribe to this listener.
        Parameters:
        listener - the listener