import { Engine } from "./Engine"; import { GameObject } from "./GameObject"; import { Container, Container as DisplayObject } from "pixi.js"; export declare class Scene { stage: Container; constructor(); addObject(obj: GameObject | DisplayObject): void; /** * @deprecated Easier to do this yourself * @param obj */ removeObject(obj: GameObject): void; getStageChildren(): unknown[]; destroyAllObjects(): void; removeAllObjects(_destroy?: boolean): void; /** * Called when adding the scene to the engine */ onApply(_engine: Engine): void; /** * Called when removing the scene from the engine */ onDestroy(_engine: Engine): void; onStep(_engine: Engine): void; getStage(): Container; render(_engine: Engine): void; private createStage; }