From 5e9ec43c7354c029b0dde5fc9153a4f48cc16f44 Mon Sep 17 00:00:00 2001 From: Ricardo Antunes Date: Sun, 1 Oct 2023 19:57:15 +0100 Subject: [PATCH] refactor(ecs): move accessors to system dir --- core/include/cubos/core/ecs/{ => system}/accessors.hpp | 10 +++++----- core/include/cubos/core/ecs/system/query.hpp | 2 +- core/include/cubos/core/ecs/system/system.hpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename core/include/cubos/core/ecs/{ => system}/accessors.hpp (97%) diff --git a/core/include/cubos/core/ecs/accessors.hpp b/core/include/cubos/core/ecs/system/accessors.hpp similarity index 97% rename from core/include/cubos/core/ecs/accessors.hpp rename to core/include/cubos/core/ecs/system/accessors.hpp index a3f9d39c7..58da8a7d9 100644 --- a/core/include/cubos/core/ecs/accessors.hpp +++ b/core/include/cubos/core/ecs/system/accessors.hpp @@ -1,6 +1,6 @@ /// @file /// @brief Class @ref cubos::core::ecs::Read and related types. -/// @ingroup core-ecs +/// @ingroup core-ecs-system #pragma once @@ -14,7 +14,7 @@ namespace cubos::core::ecs /// Can be used as a pointer with both the `->` and `*` operators. /// /// @tparam T Resource or component type. - /// @ingroup core-ecs + /// @ingroup core-ecs-system template class Read { @@ -50,7 +50,7 @@ namespace cubos::core::ecs /// Can be used as a pointer with both the `->` and `*` operators. /// /// @tparam T Resource or component type. - /// @ingroup core-ecs + /// @ingroup core-ecs-system template class Write { @@ -87,7 +87,7 @@ namespace cubos::core::ecs /// Can be used as a pointer with both the `->` and `*` operators. /// /// @tparam T Resource or component type. - /// @ingroup core-ecs + /// @ingroup core-ecs-system template class OptRead { @@ -139,7 +139,7 @@ namespace cubos::core::ecs /// Can be used as a pointer with both the `->` and `*` operators. /// /// @tparam T Resource or component type. - /// @ingroup core-ecs + /// @ingroup core-ecs-system template class OptWrite { diff --git a/core/include/cubos/core/ecs/system/query.hpp b/core/include/cubos/core/ecs/system/query.hpp index 928406979..38dbb25ec 100644 --- a/core/include/cubos/core/ecs/system/query.hpp +++ b/core/include/cubos/core/ecs/system/query.hpp @@ -13,7 +13,7 @@ #include #include -#include +#include #include namespace cubos::core::ecs diff --git a/core/include/cubos/core/ecs/system/system.hpp b/core/include/cubos/core/ecs/system/system.hpp index 26a393d43..b153e16f3 100644 --- a/core/include/cubos/core/ecs/system/system.hpp +++ b/core/include/cubos/core/ecs/system/system.hpp @@ -12,9 +12,9 @@ #include #include -#include #include #include +#include #include #include #include