Actualiser OOP_2B1_Project/src/backend/Game.java
This commit is contained in:
parent
2b8ce68479
commit
e090470ade
|
|
@ -100,7 +100,11 @@ public class Game extends Thread {
|
|||
public Iterable<Piece> getPieces() {
|
||||
return board.getPieces();
|
||||
}
|
||||
|
||||
|
||||
public boolean isCheck(int x, int y) {
|
||||
return board.isCheck(x, y);
|
||||
}
|
||||
|
||||
public boolean isSelected(int x, int y) {
|
||||
return board.isSelected(x, y);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue