/** * Store, access and delete instances of the various ComponentSystems. */ export class ComponentSystemRegistry extends EventHandler { /** * Gets the {@link AnimComponentSystem} from the registry. * * @type {import('./anim/system.js').AnimComponentSystem|undefined} * @readonly */ readonly anim: import("./anim/system.js").AnimComponentSystem | undefined; /** * Gets the {@link AnimationComponentSystem} from the registry. * * @type {import('./animation/system.js').AnimationComponentSystem|undefined} * @readonly */ readonly animation: import("./animation/system.js").AnimationComponentSystem | undefined; /** * Gets the {@link AudioListenerComponentSystem} from the registry. * * @type {import('./audio-listener/system.js').AudioListenerComponentSystem|undefined} * @readonly */ readonly audiolistener: import("./audio-listener/system.js").AudioListenerComponentSystem | undefined; /** * Gets the {@link AudioSourceComponentSystem} from the registry. * * @type {import('./audio-source/system.js').AudioSourceComponentSystem|undefined} * @readonly * @ignore */ readonly audiosource: import("./audio-source/system.js").AudioSourceComponentSystem | undefined; /** * Gets the {@link ButtonComponentSystem} from the registry. * * @type {import('./button/system.js').ButtonComponentSystem|undefined} * @readonly */ readonly button: import("./button/system.js").ButtonComponentSystem | undefined; /** * Gets the {@link CameraComponentSystem} from the registry. * * @type {import('./camera/system.js').CameraComponentSystem|undefined} * @readonly */ readonly camera: import("./camera/system.js").CameraComponentSystem | undefined; /** * Gets the {@link CollisionComponentSystem} from the registry. * * @type {import('./collision/system.js').CollisionComponentSystem|undefined} * @readonly */ readonly collision: import("./collision/system.js").CollisionComponentSystem | undefined; /** * Gets the {@link ElementComponentSystem} from the registry. * * @type {import('./element/system.js').ElementComponentSystem|undefined} * @readonly */ readonly element: import("./element/system.js").ElementComponentSystem | undefined; /** * Gets the {@link JointComponentSystem} from the registry. * * @type {import('./joint/system.js').JointComponentSystem|undefined} * @readonly * @ignore */ readonly joint: import("./joint/system.js").JointComponentSystem | undefined; /** * Gets the {@link LayoutChildComponentSystem} from the registry. * * @type {import('./layout-child/system.js').LayoutChildComponentSystem|undefined} * @readonly */ readonly layoutchild: import("./layout-child/system.js").LayoutChildComponentSystem | undefined; /** * Gets the {@link LayoutGroupComponentSystem} from the registry. * * @type {import('./layout-group/system.js').LayoutGroupComponentSystem|undefined} * @readonly */ readonly layoutgroup: import("./layout-group/system.js").LayoutGroupComponentSystem | undefined; /** * Gets the {@link LightComponentSystem} from the registry. * * @type {import('./light/system.js').LightComponentSystem|undefined} * @readonly */ readonly light: import("./light/system.js").LightComponentSystem | undefined; /** * Gets the {@link ModelComponentSystem} from the registry. * * @type {import('./model/system.js').ModelComponentSystem|undefined} * @readonly */ readonly model: import("./model/system.js").ModelComponentSystem | undefined; /** * Gets the {@link ParticleSystemComponentSystem} from the registry. * * @type {import('./particle-system/system.js').ParticleSystemComponentSystem|undefined} * @readonly */ readonly particlesystem: import("./particle-system/system.js").ParticleSystemComponentSystem | undefined; /** * Gets the {@link RenderComponentSystem} from the registry. * * @type {import('./render/system.js').RenderComponentSystem|undefined} * @readonly */ readonly render: import("./render/system.js").RenderComponentSystem | undefined; /** * Gets the {@link RigidBodyComponentSystem} from the registry. * * @type {import('./rigid-body/system.js').RigidBodyComponentSystem|undefined} * @readonly */ readonly rigidbody: import("./rigid-body/system.js").RigidBodyComponentSystem | undefined; /** * Gets the {@link ScreenComponentSystem} from the registry. * * @type {import('./screen/system.js').ScreenComponentSystem|undefined} * @readonly */ readonly screen: import("./screen/system.js").ScreenComponentSystem | undefined; /** * Gets the {@link ScriptComponentSystem} from the registry. * * @type {import('./script/system.js').ScriptComponentSystem|undefined} * @readonly */ readonly script: import("./script/system.js").ScriptComponentSystem | undefined; /** * Gets the {@link ScrollbarComponentSystem} from the registry. * * @type {import('./scrollbar/system.js').ScrollbarComponentSystem|undefined} * @readonly */ readonly scrollbar: import("./scrollbar/system.js").ScrollbarComponentSystem | undefined; /** * Gets the {@link ScrollViewComponentSystem} from the registry. * * @type {import('./scroll-view/system.js').ScrollViewComponentSystem|undefined} * @readonly */ readonly scrollview: import("./scroll-view/system.js").ScrollViewComponentSystem | undefined; /** * Gets the {@link SoundComponentSystem} from the registry. * * @type {import('./sound/system.js').SoundComponentSystem|undefined} * @readonly */ readonly sound: import("./sound/system.js").SoundComponentSystem | undefined; /** * Gets the {@link SpriteComponentSystem} from the registry. * * @type {import('./sprite/system.js').SpriteComponentSystem|undefined} * @readonly */ readonly sprite: import("./sprite/system.js").SpriteComponentSystem | undefined; /** * Gets the {@link ZoneComponentSystem} from the registry. * * @type {import('./zone/system.js').ZoneComponentSystem|undefined} * @readonly * @ignore */ readonly zone: import("./zone/system.js").ZoneComponentSystem | undefined; list: any[]; /** * Add a component system to the registry. * * @param {object} system - The {@link ComponentSystem} instance. * @ignore */ add(system: object): void; /** * Remove a component system from the registry. * * @param {object} system - The {@link ComponentSystem} instance. * @ignore */ remove(system: object): void; destroy(): void; } import { EventHandler } from '../../core/event-handler.js';