/// <summary> /// Constructor fills in the menu contents. /// </summary> /// <param name="host">Whether or not this player is the host.</param> /// <param name="multiplayer">Whether or not this game is multiplayer.</param> public LobbyScreen(LobbyClient lc) : base("Lobby", true) { this.lc = lc; lc.RegisterNewGameUpdater(this.StartGame); // Create the single invisible menu entry MenuEntry startGameMenuEntry = new MenuEntry(string.Empty, true); startGameMenuEntry.Selected += StartGameMenuEntrySelected; MenuEntries.Add(startGameMenuEntry); return; }