isEntityInEntityGroup

ECS::isEntityInEntityGroup

Checks if an Entity is in an Entity Group.

Declaration

bool isEntityInEntityGroup(Entity entity, const std::string& entityGroupName);

Parameters

Name

Type

Description

entity

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.