This commit is contained in:
Simoes Lukas
2025-11-06 11:57:30 +01:00
parent eda3aaf143
commit 9b1257f3da
9 changed files with 177 additions and 23 deletions

View File

@@ -13,7 +13,8 @@ public class Fenetre extends JFrame {
for (int i = 0; i != 5; i++) {
coordSnake.addLast(new Point(i+5, 5));
}
this.add(new JGrilleDeJeu(coordSnake));
JGrilleDeJeu grille = new JGrilleDeJeu(this, coordSnake);
this.add(grille);
}