Class MsgResponsePlayerLeftRoom

All Implemented Interfaces:
Serializable

public class MsgResponsePlayerLeftRoom extends MsgResponse implements Serializable
Response message which is sent when a player successfully leaves a game
See Also:
  • Field Details

    • player

      private final PlayerLobby player
      Player who left the room
  • Constructor Details

    • MsgResponsePlayerLeftRoom

      public MsgResponsePlayerLeftRoom(PlayerLobby player)
      Builds a new response message with the given player
      Parameters:
      player - the player who left the room
  • Method Details

    • getPlayer

      public PlayerLobby getPlayer()
      Returns:
      the player who left the room