summaryrefslogtreecommitdiff
path: root/sim/src/BaseBattle.inl.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-12-31 18:26:13 +0100
committerAki <please@ignore.pl>2022-12-31 18:26:13 +0100
commit3615d2a54325eca6e85dc0975e3391d5f943ec3a (patch)
tree0dee958f9dd78d35db2e6216cceec66c12000416 /sim/src/BaseBattle.inl.h
parent087803532fd7dfa04bc9a39fd2886f572002d0b1 (diff)
downloadkurator-3615d2a54325eca6e85dc0975e3391d5f943ec3a.zip
kurator-3615d2a54325eca6e85dc0975e3391d5f943ec3a.tar.gz
kurator-3615d2a54325eca6e85dc0975e3391d5f943ec3a.tar.bz2
Added a wrapper for calling system updates
Diffstat (limited to 'sim/src/BaseBattle.inl.h')
-rw-r--r--sim/src/BaseBattle.inl.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/sim/src/BaseBattle.inl.h b/sim/src/BaseBattle.inl.h
new file mode 100644
index 0000000..8014cb3
--- /dev/null
+++ b/sim/src/BaseBattle.inl.h
@@ -0,0 +1,19 @@
+#pragma once
+
+
+namespace kurator
+{
+namespace sim
+{
+
+
+template <typename System>
+void
+BaseBattle::update(const float dt)
+{
+ System::update(_registry, _dispatcher, dt);
+}
+
+
+} // namespace sim
+} // namespace kurator