Module it.polimi.ingsw.am13
Package it.polimi.ingsw.am13.client.chat
package it.polimi.ingsw.am13.client.chat
-
ClassDescriptionThis class stores all the chat messages that meet the following requirements: -they have thisPlayer as a sender or as one of the receivers -the number of receivers is either one, or number of players-1 (all the players aside from the sender)A single chat message, as it is stored on the client.This exception is thrown when a client requests to send a message whose receivers are not valid, that is when they are more than 1 and less than all the other players, or they contain the sender, or they contain a player who is not in the match