Class MsgResponseFinalPhase

All Implemented Interfaces:
Serializable

public class MsgResponseFinalPhase extends MsgResponse implements Serializable
Response message when the game reaches the final phase
See Also:
  • Field Details

    • turnsToEnd

      private final int turnsToEnd
      The number of turns left before the end of the game
  • Constructor Details

    • MsgResponseFinalPhase

      public MsgResponseFinalPhase(int turnsToEnd)
      Builds a new response message with the given number of turns left
      Parameters:
      turnsToEnd - the number of turns left before the end of the game
  • Method Details

    • getTurnsToEnd

      public int getTurnsToEnd()
      Returns:
      the number of turns left before the end of the game