#include #include #include #include #include namespace kurator { namespace engine { Context::Context(entt::registry& registry_, entt::dispatcher& dispatcher_, Clock& clock_, Camera& camera_) : registry {registry_}, dispatcher {dispatcher_}, clock {clock_}, camera {camera_} { } Context::operator ConstContext() const { return ConstContext{registry, dispatcher, clock, camera}; } ConstContext::ConstContext( const entt::registry& registry_, const entt::dispatcher& dispatcher_, const Clock& clock_, const Camera& camera_) : registry {registry_}, dispatcher {dispatcher_}, clock {clock_}, camera {camera_} { } } // namespace engine } // namespace kurator