SDEngine
Game Engine
Loading...
Searching...
No Matches
sd::EventDispatcher Class Reference

#include <EventManager.hpp>

+ Collaboration diagram for sd::EventDispatcher:

Public Member Functions

 EventDispatcher (Event &event)
 
template<typename T , typename F >
bool dispatch (const F &func)
 

Private Attributes

Eventm_event
 

Constructor & Destructor Documentation

◆ EventDispatcher()

sd::EventDispatcher::EventDispatcher ( Event event)
inlineexplicit

Member Function Documentation

◆ dispatch()

template<typename T , typename F >
bool sd::EventDispatcher::dispatch ( const F func)
inline

Member Data Documentation

◆ m_event

Event& sd::EventDispatcher::m_event
private

The documentation for this class was generated from the following file: