Package tech.underoaks.coldcase.remote
Class Messages.lobbyIdMessage
java.lang.Object
tech.underoaks.coldcase.remote.Messages.lobbyIdMessage
- Enclosing class:
Messages
Message containing a lobby identifier.
Used to associate a user with a specific game lobby.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an emptylobbyIdMessage.lobbyIdMessage(String lobbyId) Constructs alobbyIdMessagewith the specified lobby identifier. -
Method Summary
Modifier and TypeMethodDescriptionReturns the lobby identifier.voidsetLobbyId(String lobbyId) Sets the lobby identifier.
-
Constructor Details
-
lobbyIdMessage
Constructs alobbyIdMessagewith the specified lobby identifier.- Parameters:
lobbyId- the identifier of the lobby
-
lobbyIdMessage
public lobbyIdMessage()Constructs an emptylobbyIdMessage.
-
-
Method Details
-
getLobbyId
Returns the lobby identifier.- Returns:
- the lobby identifier as a
String
-
setLobbyId
Sets the lobby identifier.- Parameters:
lobbyId- the lobby identifier to set
-