Package it.polimi.ingsw.client.gui
Class LobbyController
java.lang.Object
it.polimi.ingsw.client.gui.LobbyController
public class LobbyController
extends java.lang.Object
Manages the lobby scene of the GUI.
-
Constructor Summary
Constructors Constructor Description LobbyController() -
Method Summary
Modifier and Type Method Description protected voidinit()Sets the initial values and parameters of the scene.voidshowPlayer(java.lang.String nickname, java.lang.String color)Shows on the lobby the registered player with his nickname and color.
-
Constructor Details
-
LobbyController
public LobbyController()
-
-
Method Details
-
init
protected void init()Sets the initial values and parameters of the scene. -
showPlayer
public void showPlayer(java.lang.String nickname, java.lang.String color)Shows on the lobby the registered player with his nickname and color.- Parameters:
nickname- Nickname of the player.color- Color of the player.
-