diff options
author | Aki <please@ignore.pl> | 2022-11-17 23:42:16 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-11-17 23:50:47 +0100 |
commit | 5059c1888b7a78bdbf2347baf4ec6372c1e6236f (patch) | |
tree | 642f1d7dc432160c877d6bd3c2469e3c455df240 /battles/include | |
parent | 068d56e95ab3a96c25ec3a2d2e8fff74e527a6eb (diff) | |
download | kurator-5059c1888b7a78bdbf2347baf4ec6372c1e6236f.zip kurator-5059c1888b7a78bdbf2347baf4ec6372c1e6236f.tar.gz kurator-5059c1888b7a78bdbf2347baf4ec6372c1e6236f.tar.bz2 |
Implemented naive hit detection events
Diffstat (limited to 'battles/include')
-rw-r--r-- | battles/include/kurator/battles/Battle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/battles/include/kurator/battles/Battle.h b/battles/include/kurator/battles/Battle.h index 82a5da5..1542597 100644 --- a/battles/include/kurator/battles/Battle.h +++ b/battles/include/kurator/battles/Battle.h @@ -3,6 +3,7 @@ #include <memory> #include <entt/entity/registry.hpp> +#include <entt/signal/dispatcher.hpp> #include "Scenario.h" @@ -18,6 +19,7 @@ class Battle public: virtual ~Battle() = default; virtual entt::registry& registry() = 0; + virtual entt::dispatcher& dispatcher() = 0; virtual void update(float dt) = 0; }; |