InternalGameObjRaw: GameObjRaw &

_cleanups: Record<string, ()=>any[]>

readonly

_events: KEventHandler<any>

readonly

_tags: Set<Tag>

readonly

_addComp(comp: Comp): void

Adds a component or anonymous component.

_removeComp(id: string): void

Removes a component without checking for dependencies

_checkDependencies(comp: Comp): void

Check if any id of a component's require is not present in `_compsIds`, if there's, throw an error.

paramcomp- The component for checking.

_checkDependents(compId: string): void

Check if any component (in `_compStates`) is dependent of compId, if there's, throw an error.

paramcompId- Component ID for searching.