merge dev into test #33
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user