ajout PDF

This commit is contained in:
fauvet 2023-04-28 23:59:56 +02:00
parent 0f2b78e1dd
commit 18a6960165
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -64,9 +64,9 @@ public class FenetreRndmGrille extends Fenetre{
int nombreAleatoire = rand.nextInt(2); // génère un nombre entre 0 et 2 int nombreAleatoire = rand.nextInt(2); // génère un nombre entre 0 et 2
if(nombreAleatoire == 0){ if(nombreAleatoire == 0){
grille[i][j] = Cellules.LIBRE; //true grille[i][j] = Cellules.LIBRE; //false
} else { } else {
grille[i][j] = Cellules.OCCUPE; //false grille[i][j] = Cellules.OCCUPE; //true
} }
this.modif = new Modifications(interfacePanel, grille,this.tabCouleur); this.modif = new Modifications(interfacePanel, grille,this.tabCouleur);