refactor: clean up unused imports and improve reinitialization call

This commit is contained in:
2025-05-20 16:20:02 +02:00
parent 3232cd136f
commit 94ebb17d19
7 changed files with 22 additions and 79 deletions

View File

@@ -128,10 +128,6 @@ public class VueGrille extends JPanel implements Observer, Runnable {
repaint();
}
private void afficherFinPartie() {
System.err.println("FIN PARTIE"); // TODO : gerer affichage ?
}
/**
* * Met à jour la vue de la grille lorsque l'état de la grille change.
*/
@@ -144,7 +140,6 @@ public class VueGrille extends JPanel implements Observer, Runnable {
if (o instanceof Jeu && !afficherFenetreFinPartie) {
if (!this.jeu.jeuEnCours) {
afficherFenetreFinPartie = true;
afficherFinPartie();
}
}
}