MCPcopy Create free account
hub / github.com/eva-engine/eva.js / componentChanged

Method componentChanged

packages/plugin-sound/lib/SoundSystem.ts:129–135  ·  view source on GitHub ↗
(changed: ComponentChanged)

Source from the content-addressed store, hash-verified

127 }
128
129 async componentChanged(changed: ComponentChanged) {
130 if (changed.componentName !== 'Sound') return;
131
132 if (changed.type === OBSERVER_TYPE.ADD) {
133 this.add(changed);
134 }
135 }
136
137 private async add(changed: ComponentChanged) {
138 const component = changed.component as SoundComponent;

Callers 1

updateMethod · 0.95

Calls 1

addMethod · 0.95

Tested by

no test coverage detected