Class BoardUpdate
java.lang.Object
it.polimi.ingsw.eriantys.messages.Message
it.polimi.ingsw.eriantys.messages.server.UserActionUpdate
it.polimi.ingsw.eriantys.messages.server.BoardUpdate
- All Implemented Interfaces:
Serializable
A message of type
UserActionUpdate
sent by the server in order to
enclose the status of the Board
of the game following a player action.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPhase()
A getter for the phase name which prompts an information message to the UI.A getter for the status of the board.Methods inherited from class it.polimi.ingsw.eriantys.messages.server.UserActionUpdate
getNextPlayer, setNextPlayer
-
Constructor Details
-
BoardUpdate
-
BoardUpdate
-
-
Method Details
-
getStatus
A getter for the status of the board.- Returns:
- the internal representation of the status
-
getPhase
A getter for the phase name which prompts an information message to the UI.- Returns:
- the phase name, or
null
if no message should be shown following the receiving ofthis
-