getEntitiesInEntityGroup
Script::getEntitiesInEntityGroup
Returns the Entities in an Entity Group.
Declaration
std::set<Entity> getEntitiesInEntityGroup(const std::string& entityGroupName);
Parameters
Name |
Type |
Description |
---|---|---|
entityGroupName |
const std::string& |
The name of the Entity Group to get the Entities from. |
Returns
The Entities that belong to the Entity Group with name entityGroupName
. If the Entity Group does not exist, the returned std::set<Entity> is empty.