summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-11-19 00:42:59 +0100
committerAki <please@ignore.pl>2022-11-19 00:42:59 +0100
commit91847d651ca4e3ea8dc1f5c7335643ef01e2e273 (patch)
treec63d986412492e9600671fc7d2b77d808cbe7523
parent5680dc7b0c93d208fab8c4c30172ab2c3b53f82b (diff)
downloadkurator-91847d651ca4e3ea8dc1f5c7335643ef01e2e273.zip
kurator-91847d651ca4e3ea8dc1f5c7335643ef01e2e273.tar.gz
kurator-91847d651ca4e3ea8dc1f5c7335643ef01e2e273.tar.bz2
Added missing header file from previous commit
-rw-r--r--battles/include/kurator/battles/events.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/battles/include/kurator/battles/events.h b/battles/include/kurator/battles/events.h
new file mode 100644
index 0000000..0e4af14
--- /dev/null
+++ b/battles/include/kurator/battles/events.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include <entt/entity/entity.hpp>
+
+
+namespace kurator
+{
+namespace battles
+{
+
+
+struct Hit
+{
+ double damage;
+ entt::entity source;
+ entt::entity victim;
+};
+
+
+} // namespace battles
+} // namespace kurator