Class CharacterCardUpdate
java.lang.Object
it.polimi.ingsw.eriantys.messages.Message
it.polimi.ingsw.eriantys.messages.server.UserActionUpdate
it.polimi.ingsw.eriantys.messages.server.CharacterCardUpdate
- All Implemented Interfaces:
Serializable
A message of type
UserActionUpdate
sent by the server in order to
notify the client of the activation of a CharacterCard
effect.- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class it.polimi.ingsw.eriantys.messages.server.UserActionUpdate
getNextPlayer, setNextPlayer
-
Constructor Details
-
CharacterCardUpdate
public CharacterCardUpdate(int card)
-
-
Method Details
-
getCard
public int getCard()A getter for the targetCharacterCard
literal.- Returns:
- the played card
-