Skip to content

Commit

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

#pragma once

Expand All @@ -15,7 +15,7 @@ namespace cubos::core::ecs
{
/// @brief Utility struct used to reference a resource of type @p T for reading.
/// @tparam T Resource type.
/// @ingroup core-ecs
/// @ingroup core-ecs-resource
template <typename T>
class ReadResource
{
Expand All @@ -42,7 +42,7 @@ namespace cubos::core::ecs

/// @brief Utility struct used to reference a resource of type @p T for writing.
/// @tparam T Resource type.
/// @ingroup core-ecs
/// @ingroup core-ecs-resource
template <typename T>
class WriteResource
{
Expand Down Expand Up @@ -71,7 +71,7 @@ namespace cubos::core::ecs
///
/// Used internally by @ref World.
///
/// @ingroup core-ecs
/// @ingroup core-ecs-resource
class ResourceManager final
{
public:
Expand Down
2 changes: 1 addition & 1 deletion core/include/cubos/core/ecs/world.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <cubos/core/ecs/component/manager.hpp>
#include <cubos/core/ecs/entity/manager.hpp>
#include <cubos/core/ecs/resource_manager.hpp>
#include <cubos/core/ecs/resource/manager.hpp>
#include <cubos/core/log.hpp>

namespace cubos::core::ecs
Expand Down

0 comments on commit c50da74

Please sign in to comment.