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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA getter for the availableTowerColorliterals in the game.A getter for the availableWizardliterals in the game.A getter for the mapping between usernames and selectedTowerColorliterals.A getter for the mapping between usernames and selectedWizardliterals.Methods inherited from class it.polimi.ingsw.eriantys.messages.server.UserActionUpdate
getNextPlayer, setNextPlayer
-
Constructor Details
-
UserSelectionUpdate
-
-
Method Details
-
getAvailableTowerColors
A getter for the availableTowerColorliterals in the game.- Returns:
- the available literals
-
getAvailableWizards
A getter for the availableWizardliterals in the game.- Returns:
- the available literals
-
getTowerColors
A getter for the mapping between usernames and selectedTowerColorliterals.- Returns:
- the internal representation of the mapping
-
getWizards
A getter for the mapping between usernames and selectedWizardliterals.- Returns:
- the internal representation of the mapping
-