From dc0cc293b7b8efed67a0a550237dce38f33ff37d Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 14 Feb 2023 00:51:49 +0100 Subject: Replaced Context+Battle combo with State and arbitrary Systems --- engine/include/kurator/engine/Context.h | 46 --------------------------------- 1 file changed, 46 deletions(-) delete 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 deleted file mode 100644 index 093285e..0000000 --- a/engine/include/kurator/engine/Context.h +++ /dev/null @@ -1,46 +0,0 @@ -#pragma once - -#include -#include - -#include "Camera.h" -#include "Clock.h" - - -namespace kurator -{ -namespace engine -{ - - -struct Context; -struct ConstContext; - - -struct Context -{ - Context(entt::registry& registry_, entt::dispatcher& dispatcher_, Clock& clock_, Camera& camera_); - entt::registry& registry; - entt::dispatcher& dispatcher; - Clock& clock; - Camera& camera; - operator ConstContext() const; -}; - - -struct ConstContext -{ - ConstContext( - const entt::registry& registry_, - const entt::dispatcher& dispatcher_, - const Clock& clock_, - const Camera& camera_); - const entt::registry& registry; - const entt::dispatcher& dispatcher; - const Clock& clock; - const Camera& camera; -}; - - -} // namespace engine -} // namespace kurator -- cgit v1.1