diff --git a/modules/ecs/public/entity.hpp b/modules/ecs/public/entity.hpp index 29fb61d..9fdfda5 100644 --- a/modules/ecs/public/entity.hpp +++ b/modules/ecs/public/entity.hpp @@ -39,6 +39,11 @@ public: return m_registry; } + [[nodiscard]] auto id() const -> EntityId + { + return m_identifier; + } + private: memory::Ref m_registry;