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/include/kurator/engine/Context.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 engine/include/kurator/engine/Context.h (limited to 'engine/include') diff --git a/engine/include/kurator/engine/Context.h b/engine/include/kurator/engine/Context.h new file mode 100644 index 0000000..c2c7cca --- /dev/null +++ b/engine/include/kurator/engine/Context.h @@ -0,0 +1,25 @@ +#pragma once + +#include +#include + +#include "Clock.h" + + +namespace kurator +{ +namespace engine +{ + + +struct Context +{ + Context(entt::registry& registry_, entt::dispatcher& dispatcher_, Clock& clock_); + entt::registry& registry; + entt::dispatcher& dispatcher; + Clock& clock; +}; + + +} // namespace engine +} // namespace kurator -- cgit v1.1