|
|
@ -272,12 +272,13 @@ public class GamePlayController implements Initializable {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(caseActuelle.isEnd() == true){
|
|
|
|
if(caseActuelle.isEnd() == true){
|
|
|
|
textEnd.setText("Fin");
|
|
|
|
textEnd.setText("Fin");
|
|
|
|
}
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
System.out.println("Fin du jeu");
|
|
|
|
|
|
|
|
finJeu = true;
|
|
|
|
finJeu = true;
|
|
|
|
timer();
|
|
|
|
timer();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
System.out.println("Case null");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void lancerDe(ActionEvent actionEvent) throws InterruptedException {
|
|
|
|
public void lancerDe(ActionEvent actionEvent) throws InterruptedException {
|
|
|
|