Class AvailableLobbies

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

public class AvailableLobbies extends Message
A Message sent by the server in order to communicate the result of a LobbiesRequest handling process.
See Also:
  • Constructor Details

    • AvailableLobbies

      public AvailableLobbies(List<GameInfo> lobbies)
  • Method Details

    • getLobbies

      public List<GameInfo> getLobbies()
      A getter for the available lobbies on the server.
      Returns:
      the lobbies which can be joined in