Constructs a new Lobby.
The Babylon.js scene.
The LobbyObserver to notify of events.
Adds a player to the player list UI.
The player's ID.
Removes the current menu from the scene.
Removes a player from the player list UI.
The player's ID.
Sets a player's status to "Ready" in the UI.
The player's ID.
Displays an error message overlay with a close button that returns to the start menu.
The error message to display.
Displays the player list for a given room, with ready status and copyable room ID.
The room ID.
The current player's ID.
The list of player IDs in the room.
Displays the start menu for multiplayer, allowing the player to create or join a room.
Lobby manages the multiplayer lobby user interface.