summaryrefslogtreecommitdiff
path: root/sim/src/State.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sim/src/State.cpp')
-rw-r--r--sim/src/State.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/sim/src/State.cpp b/sim/src/State.cpp
new file mode 100644
index 0000000..3c8a709
--- /dev/null
+++ b/sim/src/State.cpp
@@ -0,0 +1,25 @@
+#include <kurator/sim/State.h>
+
+#include <kurator/engine/Context.h>
+
+
+namespace kurator
+{
+namespace sim
+{
+
+
+State::operator engine::Context()
+{
+ return {registry, dispatcher, clock, camera};
+}
+
+
+State::operator engine::ConstContext() const
+{
+ return {registry, dispatcher, clock, camera};
+}
+
+
+} // namespace sim
+} // namespace kurator