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 void init()
    Sets the initial values and parameters of the scene.
    void showPlayer​(java.lang.String nickname, java.lang.String color)
    Shows on the lobby the registered player with his nickname and color.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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.