MatchMakingLobby/GUI/AbstractGUI.php
final function updateLobbyWindow($serverName, $playersCount, $playingPlayersCount, $averageTime)
	{
		$lobbyWindow = Windows\LobbyWindow::Create();
		Windows\LobbyWindow::setServerName($serverName);
		Windows\LobbyWindow::setAverageWaitingTime($averageTime == -1 ?  -1 : ceil($averageTime/60));
		Windows\LobbyWindow::setPlayingPlayerCount($playingPlayersCount);
		Windows\LobbyWindow::setReadyPlayerCount($playersCount);
		$lobbyWindow->show();
	}
final function updateLobbyWindow($serverName, $playersCount, $playingPlayersCount, $averageTime)
	{
		$lobbyWindow = Windows\LobbyWindow::Create();
		Windows\LobbyWindow::setServerName($serverName);
		Windows\LobbyWindow::setAverageWaitingTime($averageTime == -1 ?  -1 : ceil($averageTime/60));
		Windows\LobbyWindow::setPlayingPlayerCount($playingPlayersCount);
		Windows\LobbyWindow::setReadyPlayerCount($playersCount);
		$lobbyWindow->show();
	}
final function updateLobbyWindow ( $ serverName , $ playersCount , $ playingPlayersCount , $ averageTime ) { $ lobbyWindow = Windows \ LobbyWindow :: Create ( ) ; Windows \ LobbyWindow :: setServerName ( $ serverName ) ; Windows \ LobbyWindow :: setAverageWaitingTime ( $ averageTime == - 1 ? - 1 : ceil ( $ averageTime / 60 ) ) ; Windows \ LobbyWindow :: setPlayingPlayerCount ( $ playingPlayersCount ) ; Windows \ LobbyWindow :: setReadyPlayerCount ( $ playersCount ) ; $ lobbyWindow -> show ( ) ; }
Display the lobby Window on the right of the screen
@param string $serverName
@param int $playersCount Number of players ready on the lobby
@param int $totalPlayerCount Total number of player on the matchmaking system
@param int $playingPlayersCount Number of player in match
Display the lobby Window on the right of the screen