20 #ifndef ANTKEEPER_ENTITY_ARCHETYPE_HPP
21 #define ANTKEEPER_ENTITY_ARCHETYPE_HPP
36 std::list<std::function<void(entt::handle&)>>
stamps;
47 void stamp(entt::handle& handle)
const;
entt::registry registry
Component registry type.
entt::entity id
Entity ID type.
void stamp(entt::handle &handle) const
std::list< std::function< void(entt::handle &)> > stamps
List of stamp functions which construct instances of the archetype's components.
entity::id create(entity::registry ®istry) const
Creates an instance of this archetype.