2 #ifndef ENIGMA_EVENT_DISPATCHER_H
3 #define ENIGMA_EVENT_DISPATCHER_H
17 using EventFun = std::function<bool(
T&)>;
#define NS_ENIGMA_BEGIN
Enable/Disable Assertions.
bool Dispatch(EventFun< T > func)
EventDispatcher(Event &event)
void SetHandled(const bool handled) noexcept
virtual EventType GetEventType() const =0