Add util::ecs::species_count

This commit is contained in:
Nikita Lisitsa 2021-07-22 10:51:18 +03:00
parent f55fd29b58
commit 1bdef9134d

View file

@ -242,6 +242,8 @@ namespace psemek::util
template <typename ... Components>
handle register_species(std::string name, Components && ... components);
handle species_count() const { return species_.size(); }
handle add_entity(handle species);
handle entity_count(handle species) const;
void remove_entity(handle species, handle entity);