Merge branch 'master' of
https://gitarero.ecam.fr/louise.berteloot/OOP_2A5_Project
This commit is contained in:
parent
8091c480a0
commit
5e1cb10a48
|
|
@ -207,9 +207,9 @@ public class Board {
|
|||
String line = piece.getType() + "," + piece.getX() + "," + piece.getY() + "," + piece.isWhite();
|
||||
lines.add(line);
|
||||
}
|
||||
|
||||
|
||||
System.out.println("The modifications are: " + lines);
|
||||
return lines.toArray(new String[0]);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -232,8 +232,7 @@ public class Board {
|
|||
boolean isWhite = Boolean.parseBoolean(parts[3]);
|
||||
|
||||
pieces.add(new Piece(x, y, isWhite, type));}
|
||||
|
||||
|
||||
System.out.println("The modifications are: " + pieces);
|
||||
}
|
||||
|
||||
/* The following methods require more work ! */
|
||||
|
|
|
|||
Loading…
Reference in New Issue