Merge branch 'main' of https://gitarero.ecam.fr/romain.murphy/OOP_2B1_Project.git into main
This commit is contained in:
commit
315dac9ecd
|
|
@ -362,8 +362,10 @@ public class Board {
|
|||
}
|
||||
board.get(ym).set(xm,null);
|
||||
this.turnColor = !this.turnColor;
|
||||
if(this.turnColor) {
|
||||
this.turnNumber +=1;
|
||||
}
|
||||
}
|
||||
|
||||
public void setBoard(ArrayList<ArrayList<Piece>> board) {
|
||||
this.board = board;
|
||||
|
|
|
|||
Loading…
Reference in New Issue