cleanBoard done

This commit is contained in:
tothe 2025-04-18 16:30:36 +02:00
parent 672f73b429
commit 36559ff769
1 changed files with 7 additions and 1 deletions

View File

@ -80,8 +80,14 @@ public class Board {
/*coucou noa !! /*coucou noa !!
* *
* eh vous croyez que c'est whatsapp ici ?*/ * eh vous croyez que c'est whatsapp ici ?*/
public void cleanBoard() { public void cleanBoard() {
//TODO
for (int y = 1; y < 7; y++) {
for (int x = 1; x < 7; x++) {
Board[x][y] = null;
}
}
} }
public String toString() { public String toString() {