From d0629836f9aa002a872d59c7f9e465dca9f2cc02 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 11 Feb 2023 00:25:15 +0100 Subject: Added Context to streamline system update call interface --- engine/src/Context.cpp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 engine/src/Context.cpp (limited to 'engine/src') diff --git a/engine/src/Context.cpp b/engine/src/Context.cpp new file mode 100644 index 0000000..eeec938 --- /dev/null +++ b/engine/src/Context.cpp @@ -0,0 +1,24 @@ +#include + +#include +#include + +#include + + +namespace kurator +{ +namespace engine +{ + + +Context::Context(entt::registry& registry_, entt::dispatcher& dispatcher_, Clock& clock_) : + registry {registry_}, + dispatcher {dispatcher_}, + clock {clock_} +{ +} + + +} // namespace engine +} // namespace kurator -- cgit v1.1