java.lang.Object
polimi.ingsw.am21.codex.client.localModel.LocalLobby

public class LocalLobby extends Object
Class that represents the local lobby. It is included in the local model container class Once a player decides to join a game from the game menu, a local lobby associated to that game is created. The lobby keeps track of the players that joined the game, the available tokens, the available objectives and the starter card.
See Also:
  • Method Details

    • getGameId

      public String getGameId()
    • getAvailableTokens

      public Set<TokenColor> getAvailableTokens()
    • getAvailableObjectives

      public CardPair<Card> getAvailableObjectives()
    • setAvailableObjectives

      public void setAvailableObjectives(Card first, Card second)
    • getStarterCard

      public Card getStarterCard()
    • setStarterCard

      public void setStarterCard(Card starterCard)
    • getPlayers

      public Map<UUID,LocalPlayer> getPlayers()