added JavaDocs for the 'InterruptState' classe
This commit is contained in:
@@ -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
|
@Override
|
||||||
public void received(ForceContinueGameMessage msg, int from) {
|
public void received(ForceContinueGameMessage msg, int from) {
|
||||||
this.logic.getServerSender().broadcast(new ResumeGameMessage());
|
this.logic.getServerSender().broadcast(new ResumeGameMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user