Started Yaze implementation using ImGui and improving workflow from previous projects
This commit is contained in:
12
src/Application/Events/Event.cc
Normal file
12
src/Application/Events/Event.cc
Normal file
@@ -0,0 +1,12 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user