getEntityGroupsOfEntity

ECS::getEntityGroupsOfEntity

Returns the Entity Groups of an Entity.

Declaration

std::set<std::string> getEntityGroupsOfEntity(Entity entity);

Parameters

Name

Type

Description

entity

Entity

The Entity to get the Entity Groups of.

Returns

The Entity Groups the entity belongs to. If entity has no Entity Group, the returned std::set<std::string> is empty.