isSelected
This commit is contained in:
parent
a6cf90ddf2
commit
932741e82c
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue