@willyuum/pixi-gameobject-system
Version:
22 lines (21 loc) • 919 B
TypeScript
/**
* This module handles the management and operation of all components in the system.
* Components are managed through internal and public APIs for adding, removing, updating, and awakening components.
*
* **Internal API**:
* - Handles the internal operations of adding and removing components to/from the collection.
* - Should not be accessed directly by consumers of the module.
*
* **Public API**:
* - Provides external methods for updating and awakening all components in the collection.
* - These methods are safe to call from other parts of the codebase.
*/
import { Component } from "./Component";
export declare const internal_ComponentManager: {
addComponent: (component: Component) => void;
removeComponent: (component: Component) => void;
};
export declare const public_ComponentManager: {
AwakeAvailableComponents: () => void;
UpdateComponents: (deltaTime: number) => void;
};