merge the new developmentbranch into the test branch #39

Closed
j23f0712 wants to merge 431 commits from development2 into dev/test
Showing only changes of commit fb6cbeaaf5 - Show all commits

View File

@@ -8,13 +8,38 @@
*/ */
@Serializable @Serializable
public class ServerStartGameMessage extends ServerMessage { public class ServerStartGameMessage extends ServerMessage {
/**
* Create ServerStartGameMessage attributes.
*/
private final Board board;
/** /**
* Constructs a new ServerStartGame instance. * Constructs a new ServerStartGame instance.
*/ */
public ServerStartGameMessage() { public ServerStartGameMessage() {
super(); super();
this.board = new Board();
} }
/**
* Constructor.
*
* @param board as the board of the game as a Board object.
*/
public ServerStartGameMessage(Board board) {
super();
this.board = board;
}
/**
* This method will return board attribute of ServerStartGameMessage class.
*
* @return board as a Board object.
*/
public Board getBoard() {
return this.board;
}
/** /**
* Accepts a visitor to process this message. * Accepts a visitor to process this message.
* *