galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
EntityManager.hpp
Go to the documentation of this file.
1
7
8#ifndef GALAXY_ENTITY_ENTITYMANAGER_HPP_
9#define GALAXY_ENTITY_ENTITYMANAGER_HPP_
10
12
13namespace galaxy
14{
20 class EntityManager final
21 {
22 public:
26 EntityManager() noexcept;
27
31 EntityManager(EntityManager&&) noexcept;
32
37
41 ~EntityManager() noexcept;
42
48 [[nodiscard]]
49 Registry& registry() noexcept;
50
51 private:
55 EntityManager(const EntityManager&) = delete;
56
61
62 private:
67 };
68} // namespace galaxy
69
70#endif
Class for making creating and managing entities easier.
Registry m_registry
Entity data.
EntityManager & operator=(const EntityManager &)=delete
Copy assignment operator.
EntityManager() noexcept
Constructor.
EntityManager & operator=(EntityManager &&) noexcept
Move assignment operator.
EntityManager(const EntityManager &)=delete
Copy constructor.
Registry & registry() noexcept
Get entity registry.
~EntityManager() noexcept
Destructor.
Wrapper around entt::registry to expand functionality.
Definition Registry.hpp:19
Application.hpp galaxy.