8#include <entt/locator/locator.hpp>
34 this->
m_entt = std::move(r.m_entt);
42 this->
m_entt = std::move(r.m_entt);
59 tag.m_tag =
"Untagged";
80 auto& em = entt::locator<meta::EntityFactory>::value();
82 for (
const auto& hash : em.get_validation_list())
84 if (!(em.get_validations().at(hash)(entity,
m_entt)))
Wrapper around entt::registry to expand functionality.
void clear()
Clear any pending data.
Registry & operator=(Registry &&)
Move assignment operator.
void disable_entity(entt::registry ®istry, entt::entity entity)
Function that runs when an entity is disabled.
entt::entity create()
Create an entity with some default components.
void enable_entity(entt::registry ®istry, entt::entity entity)
Function that runs when an entity is enabled.
Registry()
Typedef for creating b2 bodies from components.
entt::registry m_entt
Scene entities.
bool is_valid(const entt::entity entity)
Validate an entity to make sure all components have met their requirements as defined by register_dep...
Used to stop an entity from being updated/rendered.