aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/system/EventSystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/system/EventSystem.h')
-rw-r--r--src/crepe/system/EventSystem.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/crepe/system/EventSystem.h b/src/crepe/system/EventSystem.h
new file mode 100644
index 0000000..0ae48d2
--- /dev/null
+++ b/src/crepe/system/EventSystem.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "System.h"
+
+namespace crepe {
+
+/**
+ * \brief EventManager dispatch helper system
+ */
+class EventSystem : public System {
+public:
+ using System::System;
+
+ /**
+ * \brief Dispatch queued events
+ * \see EventManager::dispatch_events
+ */
+ void fixed_update() override;
+};
+
+} // namespace crepe