ECS

Inherits ECSInterface.

Functions

Name

Description

createEntity

Creates a new Entity.

destroyEntity

Destroys an Entity.

destroyAllEntities

Destroys all Entities.

destroyNonPersistentEntities

Destroys all Entities not marked as persistent.

entityExists

Checks if an Entity exists.

setEntityName

Sets a name to an Entity.

entityHasName

Checks if an Entity has a name.

getEntityName

Returns the name of the Entity.

findEntityByName

Returns the Entity associated with the name.

setEntityPersistence

Marks or unmarks the Entity as persistent.

isEntityPersistent

Checks if an Entity is persistent.

addEntityToEntityGroup

Adds an Entity to an Entity Group.

removeEntityFromEntityGroup

Removes an Entity from an Entity Group.

entityGroupExists

Checks if an Entity Group exists.

isEntityInEntityGroup

Checks if an Entity is in an Entity Group.

getEntitiesInEntityGroup

Returns the Entities in an Entity Group.

getEntityGroupsOfEntity

Returns the Entity Groups of an Entity.