Merge remote-tracking branch 'origin/development' into development

This commit is contained in:
Daniel Grigencha
2024-11-17 21:18:38 +01:00
2 changed files with 15 additions and 1 deletions

View File

@@ -136,4 +136,18 @@ public int getIndexInHome(Piece piece) {
}
return -1;
}
/**
* This method returns the homeNodes
*
* @return the homeNodes
*/
public boolean hasPieceInWaitingArea() {
for (Piece piece : waitingArea) {
if (piece != null) {
return true;
}
}
return false;
}
}