std::unique_ptr< entity::registry > entity_registry
entt::entity id
Entity ID type.
@ position
Vertex position (vec3)
entity::id spawn_ant_larva(::game &ctx, const ant_genome &genome, const math::fvec3 &position)
Spawns an ant larva.
entity::id spawn_worker_ant(::game &ctx, const ant_genome &genome, const math::fvec3 &position)
Spawns a worker ant.
entity::id spawn_ant_egg(::game &ctx, const ant_genome &genome, bool fertilized, const math::fvec3 &position)
Spawns an ant egg.
Complete set of ant genes.
std::shared_ptr< ant_larva_gene > larva
std::shared_ptr< ant_egg_gene > egg