getEntitiesInEntityGroup

ECSInterface::getEntitiesInEntityGroup

Returns the Entities in an Entity Group.

Declaration

virtual std::set<Entity> getEntitiesInEntityGroup(const std::string& entityGroupName) = 0;

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.