isSelected

This commit is contained in:
Tilman Crosetti 2025-05-07 15:10:53 +02:00
parent a6cf90ddf2
commit 932741e82c
1 changed files with 2 additions and 2 deletions

View File

@ -184,10 +184,10 @@ private ArrayList<int[]> highlightedPositions = new ArrayList<>();
public boolean isSelected(int x, int y) {
//TODO
return false;
return selectedX != null && selectedY != null && selectedX == x && selectedY == y;
}
/* saving-loading feature :*/
public String[] toFileRep() {