Constructs a new LevelLoader.
The Babylon.js scene.
The observer to notify of loading events.
The factory to use for creating game/editor objects.
Loads a level from a JSON file by filename. Instantiates all objects and notifies the observer.
The filename of the level JSON.
Loads a level from in-memory JSON data.
The JSON data for the level.
Sets the Babylon.js scene to use for future object creation.
The new scene.
LevelLoader is responsible for loading level data, instantiating all game objects, and managing asset loading and observer notifications.