8#ifndef GALAXY_SYSTEMS_SYSTEM_HPP_
9#define GALAXY_SYSTEMS_SYSTEM_HPP_
14#include <entt/entity/registry.hpp>
36 virtual void update(entt::registry& registry) = 0;
44 const std::string&
id() const noexcept;
75 template<
typename Type>
76 concept is_system = std::derived_from<Type, systems::System>;
Represents a system that operates on sets of components.
virtual void update(entt::registry ®istry)=0
Abstract implementation for updating the system. Use the manager to retreive your components.
virtual ~System() noexcept
Destructor.
const std::string & id() const noexcept
Get identifier.
std::string m_id
Debug id.