Skip to content

Commit

Permalink
refactor(ecs): move accessors to system dir
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Oct 2, 2023
1 parent 169f633 commit 5e9ec43
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// @file
/// @brief Class @ref cubos::core::ecs::Read and related types.
/// @ingroup core-ecs
/// @ingroup core-ecs-system

#pragma once

Expand All @@ -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 <typename T>
class Read
{
Expand Down Expand Up @@ -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 <typename T>
class Write
{
Expand Down Expand Up @@ -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 <typename T>
class OptRead
{
Expand Down Expand Up @@ -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 <typename T>
class OptWrite
{
Expand Down
2 changes: 1 addition & 1 deletion core/include/cubos/core/ecs/system/query.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <unordered_set>
#include <utility>

#include <cubos/core/ecs/accessors.hpp>
#include <cubos/core/ecs/system/accessors.hpp>
#include <cubos/core/ecs/world.hpp>

namespace cubos::core::ecs
Expand Down
2 changes: 1 addition & 1 deletion core/include/cubos/core/ecs/system/system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
#include <typeindex>
#include <unordered_set>

#include <cubos/core/ecs/accessors.hpp>
#include <cubos/core/ecs/event_reader.hpp>
#include <cubos/core/ecs/event_writer.hpp>
#include <cubos/core/ecs/system/accessors.hpp>
#include <cubos/core/ecs/system/commands.hpp>
#include <cubos/core/ecs/system/query.hpp>
#include <cubos/core/ecs/world.hpp>
Expand Down

0 comments on commit 5e9ec43

Please sign in to comment.