Version 1.0 #40

Merged
j23f0779 merged 947 commits from development2 into main 2024-12-13 10:26:49 +01:00
Showing only changes of commit 1bcb73cff7 - Show all commits

View File

@@ -43,10 +43,23 @@ public PlayerData(Color color) {
} }
} }
/**
* Constructor.
*/
private PlayerData() { private PlayerData() {
homeNodes = null; homeNodes = new HomeNode[4];
waitingArea = null; waitingArea = new Piece[4];
pieces = null; pieces = new Piece[4];
}
/**
* This method will be used to check if the player is finished.
* ToDo: Currently return always false. Implement logic!
*
* @return true or false.
*/
public boolean isFinished() {
return false;
} }
/** /**