aboutsummaryrefslogtreecommitdiffstats
path: root/include/systems/dialog.hpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-06-13 21:01:08 -0400
committerClyne Sullivan <tullivan99@gmail.com>2017-06-13 21:01:08 -0400
commit316df0931c66e43e69f21bda28c77b9bdb1e8bca (patch)
treed98231e4b41d046a2a60ee9c6f1cc724a9e3837d /include/systems/dialog.hpp
parent11b8e727e04ed6095164bb826541409f88047625 (diff)
component reorginization; entity flashes
Diffstat (limited to 'include/systems/dialog.hpp')
-rw-r--r--include/systems/dialog.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/systems/dialog.hpp b/include/systems/dialog.hpp
new file mode 100644
index 0000000..407f043
--- /dev/null
+++ b/include/systems/dialog.hpp
@@ -0,0 +1,16 @@
+#ifndef SYSTEM_DIALOG_HPP_
+#define SYSTEM_DIALOG_HPP_
+
+#include <entityx/entityx.h>
+
+#include <events.hpp>
+
+class DialogSystem : public entityx::System<DialogSystem>, public entityx::Receiver<DialogSystem> {
+public:
+ void configure(entityx::EventManager&);
+ void receive(const MouseClickEvent&);
+ void update(entityx::EntityManager&, entityx::EventManager&, entityx::TimeDelta) override;
+};
+
+
+#endif // SYSTEM_DIALOG_HPP_