Represents a scene containing actors and manages their lifecycle. Handles initialization, loading, updating, rendering, unloading, and closing of the scene. Also manages the addition and removal of actors.
virtual void Start(IRenderer* renderer);
Initializes the scene with the given renderer.
virtual void Load();
Loads scene resources.
virtual void Update();
Updates the scene and its actors.
virtual void Render();
Renders the scene.
virtual void Unload();
Unloads scene resources (when the program is ended).
virtual void Close();
Cleans up the scene (when the scene is closed).
virtual void UpdateAllActors();
Updates all actors in the scene.
virtual void AddActor(Actor* actor);
Adds an actor to the scene.
virtual void RemoveActor(Actor* actor);
Removes an actor from the scene.