isEntityInEntityGroup
ECSInterface::isEntityInEntityGroup
Checks if an Entity is in an Entity Group.
Declaration
virtual bool isEntityInEntityGroup(Entity entity, const std::string& entityGroupName) = 0;
Parameters
Name |
Type |
Description |
---|---|---|
entity |
The Entity to check. |
|
entityGroupName |
const std::string& |
The name of the Entity Group to check if the Entity is in. |
Returns
true
if entity
is in the Entity Group, else, returns false
.