EntityCallbacks
Defined in: Entity.ts:23
Callback interface for notifying external systems (QueryCache, EventBus) about entity component changes. Injected by Scene.
Methods
Section titled “Methods”onComponentAdded()
Section titled “onComponentAdded()”onComponentAdded(
entity,componentClass):void
Defined in: Entity.ts:24
Parameters
Section titled “Parameters”entity
Section titled “entity”componentClass
Section titled “componentClass”Returns
Section titled “Returns”void
onComponentRemoved()
Section titled “onComponentRemoved()”onComponentRemoved(
entity,componentClass):void
Defined in: Entity.ts:25
Parameters
Section titled “Parameters”entity
Section titled “entity”componentClass
Section titled “componentClass”Returns
Section titled “Returns”void