Files
yaze/src/Application/Events/Event.cc

12 lines
270 B
C++

#include "Event.h"
namespace yaze {
namespace Application {
namespace Events {
void Event::Assign(const std::function<void()>& event) { event_ = event; }
void Event::Trigger() const { event_(); }
} // namespace Events
} // namespace Application
} // namespace yaze