// Copyright (c) 2026 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT /** * A scene: an isolated pool of entities/components. `new Scene()` * creates an empty scene -- it is not made active automatically, call * `.setActive()` for that. `Entity`/`Component` always operate on * whichever scene is currently active, not on a specific Scene * instance. */ declare class Scene { constructor(); /** The engine-assigned numeric scene ID. */ readonly id: number; /** Makes this the active scene (see Scene.getActive()). */ setActive(): void; /** Destroys this scene and all its entities/components. */ dispose(): void; /** Gets the currently active scene, or undefined if none is active. */ static getActive(): Scene | undefined; }