8#ifndef GALAXY_SYSTEMS_SYSTEM_HPP_
9#define GALAXY_SYSTEMS_SYSTEM_HPP_
52 const std::string&
id() const noexcept;
91 template<
typename Type>
92 concept is_system = std::derived_from<Type, System>;
Wrapper around entt::registry to expand functionality.
Represents a system that operates on sets of components.
std::string m_id
Debug id.
System()=delete
Constructor.
const std::string & id() const noexcept
Get identifier.
virtual void update(Registry ®istry)=0
Abstract implementation for updating the system. Use the manager to retreive your components.
virtual ~System() noexcept
Destructor.
System & operator=(System &&) noexcept
Move assignment operator.