Class AssistantCardUpdate
java.lang.Object
it.polimi.ingsw.eriantys.messages.Message
it.polimi.ingsw.eriantys.messages.server.UserActionUpdate
it.polimi.ingsw.eriantys.messages.server.AssistantCardUpdate
- All Implemented Interfaces:
Serializable
A message of type
UserActionUpdate
sent by the server in order to
notify the client of the available AssistantCard
literals in the turn.
The communication item carries, inside its structure,
a mapping between usernames and previously selected literals during the current round.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA getter for the availableAssistantCard
literals in the turn.A getter for the mapping between usernames and previously selectedAssistantCard
literals.Methods inherited from class it.polimi.ingsw.eriantys.messages.server.UserActionUpdate
getNextPlayer, setNextPlayer
-
Constructor Details
-
AssistantCardUpdate
-
-
Method Details
-
getPlayedCards
A getter for the mapping between usernames and previously selectedAssistantCard
literals.- Returns:
- the internal representation of the mapping
-
getAvailableCards
A getter for the availableAssistantCard
literals in the turn.- Returns:
- the available literals
-