11#ifndef ENTITY_IMPL_HPP
12#define ENTITY_IMPL_HPP
26 template <
typename ...
Component,
typename>
31 template <
typename ...
Component,
typename>
Component is a template define in Registry. (not a class)
void addComponent(Component &&... c)
add a component to the entity using the registryRef method addComponent
Definition Entity_impl.hpp:27
void removeComponent()
remove a component from the entity using the registryRef method removeComponent
Definition Entity_impl.hpp:32
void addComponent(Entity const &to, Component &&...c)
Definition Registry_impl.hpp:53
void removeComponent(Entity const &from)
remove a component from the given entity
Definition Registry_impl.hpp:64
Registry & RegistryRef
Definition Entity.hpp:23