Class MoveStudent

All Implemented Interfaces:
Serializable

public class MoveStudent extends GameMessage
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

  • Method Details

    • getColor

      public String getColor()
      A getter for the Color literal of the student requested by the user.
      Returns:
      the chosen Color literal
    • getDestination

      public String getDestination()
      A getter for the destination literal requested by the user. The destination could be an IslandGroup literal or the GameConstants object referred to the dining room.
      Returns:
      the chosen destination literal