Class AssistantCardUpdate

All Implemented Interfaces:
Serializable

public class AssistantCardUpdate extends UserActionUpdate
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 Details

  • Method Details

    • getPlayedCards

      public Map<String,String> getPlayedCards()
      A getter for the mapping between usernames and previously selected AssistantCard literals.
      Returns:
      the internal representation of the mapping
    • getAvailableCards

      public Map<String,List<String>> getAvailableCards()
      A getter for the available AssistantCard literals in the turn.
      Returns:
      the available literals