addEntityToEntityGroup

ECS::addEntityToEntityGroup

Adds an Entity to an Entity Group.

Declaration

void addEntityToEntityGroup(Entity entity, const std::string& entityGroupName);

Parameters

Name

Type

Description

entity

Entity

The Entity to add to the Entity Group.

entityGroupName

const std::string&

The name of the Entity Group to add the Entity to.

Returns

None.