StaticupdateInternalGets all currently alive entities in the repository.
Array of all alive entities
Adds a specific component class to an entity and returns the enhanced entity.
The component class to instantiate and add
The entity to add the component to
The entity enhanced with the component's methods
Creates a new entity with a unique entity UID.
A newly created entity with a unique UID
Deletes an entity and all its associated components.
The unique identifier of the entity to delete
Recursively deletes an entity and all its descendant entities in the scene graph hierarchy.
The unique identifier of the root entity to delete recursively
Gets the total count of currently alive entities.
The number of currently alive entities
Instance method to retrieve an entity by its unique identifier.
The unique identifier of the entity to retrieve
The entity corresponding to the given UID
Retrieves an entity by its unique name identifier.
The unique name of the entity to find
The entity with the specified unique name, or undefined if not found
Removes a component from an entity and cleans up associated resources.
The entity with the component removed (typed as IEntity)
The repository class responsible for creating, managing, and deleting entities within the framework. Provides entity lifecycle management, component attachment, and entity querying capabilities.
Remarks
This class manages entity UIDs, tracks entity relationships, and handles component associations. It also provides functionality for entity copying and cleanup operations.