EntityCallbacks
Defined in: Entity.ts:64
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:65
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:66
Parameters
Section titled “Parameters”entity
Section titled “entity”componentClass
Section titled “componentClass”Returns
Section titled “Returns”void
onEntityActivated()
Section titled “onEntityActivated()”onEntityActivated(
entity):void
Defined in: Entity.ts:67
Parameters
Section titled “Parameters”entity
Section titled “entity”Returns
Section titled “Returns”void
onEntityDeactivated()
Section titled “onEntityDeactivated()”onEntityDeactivated(
entity):void
Defined in: Entity.ts:68
Parameters
Section titled “Parameters”entity
Section titled “entity”Returns
Section titled “Returns”void
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.