AbstractRemoves all objects from the scene.
Called once when the scene becomes active. Useful for initialising scene-specific objects.
OptionalonCalled when the game window or container is resized. Useful for updating UI positions or camera bounds.
The new width of the game window.
The new height of the game window.
Called every frame to update game logic within the scene.
Represents a separate world or level in the game. Scenes manage their own set of game objects and lifecycle.