snake fini

This commit is contained in:
Simoes Lukas
2025-11-07 17:42:00 +01:00
parent c730f07c1b
commit 34eae23b17
46 changed files with 59 additions and 59 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -29,6 +29,7 @@ public class Sautoir extends JComponent {
fenetre.setSize(250, 250);
fenetre.setLocation(0, 0);
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
fenetre.setAlwaysOnTop(true);
fenetre.setLayout(layout);
for (int i = 0; i != 25; i++) {
fenetre.add(new Sautoir());

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -7,6 +7,7 @@ public class Fenetre extends JFrame {
this.setSize(500, 600);
this.setLocation(100, 100);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setAlwaysOnTop(true);
this.setLayout(new GridLayout(1, 1));
LectureFichier lecture = new LectureFichier();
EcritureFichier ecriture = new EcritureFichier("test", lecture.getCoordY(), lecture.getNbPoints());

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.