Class UserSelectionUpdate
java.lang.Object
it.polimi.ingsw.eriantys.messages.Message
it.polimi.ingsw.eriantys.messages.server.UserActionUpdate
it.polimi.ingsw.eriantys.messages.server.UserSelectionUpdate
- All Implemented Interfaces:
Serializable
A message of type
UserActionUpdate
sent by the server in order to
notify the client of the available TowerColor
and Wizard
literals in the game.
The communication item carries, inside its structure, a mapping between usernames and selected literals.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA getter for the availableTowerColor
literals in the game.A getter for the availableWizard
literals in the game.A getter for the mapping between usernames and selectedTowerColor
literals.A getter for the mapping between usernames and selectedWizard
literals.Methods inherited from class it.polimi.ingsw.eriantys.messages.server.UserActionUpdate
getNextPlayer, setNextPlayer
-
Constructor Details
-
UserSelectionUpdate
-
-
Method Details
-
getAvailableTowerColors
A getter for the availableTowerColor
literals in the game.- Returns:
- the available literals
-
getAvailableWizards
A getter for the availableWizard
literals in the game.- Returns:
- the available literals
-
getTowerColors
A getter for the mapping between usernames and selectedTowerColor
literals.- Returns:
- the internal representation of the mapping
-
getWizards
A getter for the mapping between usernames and selectedWizard
literals.- Returns:
- the internal representation of the mapping
-