Home > decentraland-ecs > Engine
Property | Access Modifier | Type | Description |
---|---|---|---|
disposableComponents |
Readonly<Record<string, DisposableComponentLike>> |
||
entities |
Readonly<Record<string, Entity>> |
||
eventManager |
EventManager |
||
rootEntity |
Entity |
Method | Access Modifier | Returns | Description |
---|---|---|---|
constructor() |
Constructs a new instance of the Engine class | ||
addEntity(entity) |
void |
||
addSystem(system, priority) |
void |
||
disposeComponent(component) |
void |
||
getComponentGroup(requires) |
ComponentGroup |
||
getEntitiesWithComponent(component) |
Record<string, any> |
||
registerComponent(component) |
void |
||
removeComponentGroup(componentGroup) |
void |
||
removeEntity(entity, removeChildren, newParent) |
void |
||
removeSystem(system) |
void |
||
update(dt) |
void |
||
updateComponent(component) |
void |