supprime inbounds from board class

This commit is contained in:
carol 2025-05-13 16:08:14 +02:00
parent 7fa75a6862
commit 4771b67898
1 changed files with 1 additions and 3 deletions

View File

@ -125,9 +125,7 @@ public class Board {
return hasSelectedPiece && selectedX == x && selectedY == y;
}
private boolean inBounds(int x, int y) {
return x >= 0 && x < width && y >= 0 && y < height;
}