Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.95 KB

decentraland-ecs.engine.md

File metadata and controls

30 lines (24 loc) · 1.95 KB

Home > decentraland-ecs > Engine

Engine class

Properties

Property Access Modifier Type Description
disposableComponents Readonly<Record<string, DisposableComponentLike>>
entities Readonly<Record<string, Entity>>
eventManager EventManager
rootEntity Entity

Methods

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