Class LobbyUpdate

java.lang.Object
it.polimi.ingsw.eriantys.messages.Message
it.polimi.ingsw.eriantys.messages.server.LobbyUpdate
All Implemented Interfaces:
Serializable

public class LobbyUpdate extends Message
A Message sent by the server in order to communicate the entry or exit of a user in the lobby.
See Also:
  • Constructor Details

    • LobbyUpdate

      public LobbyUpdate(List<String> players)
  • Method Details

    • getPlayers

      public List<String> getPlayers()
      A getter for the usernames of the players inside the lobby following the event.
      Returns:
      the player usernames