problème mine entourage 0 fixé

This commit is contained in:
Haïssous Kayyissa 2022-05-10 15:26:30 +02:00
parent 52981b103f
commit bb1215eab7
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public class Case extends JPanel {
}
// Mise à jour de l'affichage de la case
this.updateUI();
if (this.getEntourage() == 0) {
if ((this.entourage == 0)&&(minee==false)) {
this.grille.setEntourageVisible(this);
}
this.grille.verifVictoire();

View File

@ -1,6 +1,6 @@
public class Test {
public static void main(String[] args) {
new FrameJeu(15,20,5);
new FrameJeu(15,20,40);
}
}