Class MoveStudent
java.lang.Object
it.polimi.ingsw.eriantys.messages.Message
it.polimi.ingsw.eriantys.messages.GameMessage
it.polimi.ingsw.eriantys.messages.client.MoveStudent
- All Implemented Interfaces:
Serializable
A
GameMessage
sent by a client in order to inform the server of
a (single) student disc movement specified by the user in the current action phase.- See Also:
-
Constructor Details
-
MoveStudent
-
-
Method Details
-
getColor
A getter for theColor
literal of the student requested by the user.- Returns:
- the chosen
Color
literal
-
getDestination
A getter for the destination literal requested by the user. The destination could be anIslandGroup
literal or theGameConstants
object referred to the dining room.- Returns:
- the chosen destination literal
-