added JavaDocs for the 'InterruptState' classe

This commit is contained in:
Daniel Grigencha
2024-12-01 20:41:30 +01:00
parent ef450a23f5
commit 8369797120

View File

@@ -44,6 +44,13 @@ public void exit() {
}
/**
* This method will be called whenever the server received a ForceContinueGameMessage message.
* It will also get the client id of the player who send this message.
*
* @param msg as the message which was sent by the player as a ForceContinueGameMessage object.
* @param from as the client id of the player as an Integer.
*/
@Override
public void received(ForceContinueGameMessage msg, int from) {
this.logic.getServerSender().broadcast(new ResumeGameMessage());