29 for (
const auto&
function:
stamps)
30 function(instance_handle);
32 return instance_handle.entity();
37 for (
const auto&
function:
stamps)
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.