Updated 'ClientStartGameMessage' class.
Updated the 'ClientStartGameMesssage' class by preparing it for the correct BPMN diagram.
This commit is contained in:
@@ -8,22 +8,12 @@
|
|||||||
@Serializable
|
@Serializable
|
||||||
public class ClientStartGameMessage extends ClientMessage {
|
public class ClientStartGameMessage extends ClientMessage {
|
||||||
/**
|
/**
|
||||||
* Constructs a new ClientStartGame instance.
|
* Constructor.
|
||||||
*/
|
*/
|
||||||
public ClientStartGameMessage() {
|
public ClientStartGameMessage() {
|
||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns a string representation of this message.
|
|
||||||
*
|
|
||||||
* @return a string representation of this message
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return "ClientStartGame{}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Accepts a visitor to process this message.
|
* Accepts a visitor to process this message.
|
||||||
*
|
*
|
||||||
@@ -34,4 +24,14 @@ public String toString() {
|
|||||||
public void accept(ClientInterpreter interpreter, int from) {
|
public void accept(ClientInterpreter interpreter, int from) {
|
||||||
interpreter.received(this, from);
|
interpreter.received(this, from);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method will be used to return all necessary information of StartGameMessage in a more readable way.
|
||||||
|
*
|
||||||
|
* @return information as a String.
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "ClientStartGameMessage{}";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user