Création des cartes lumières pour insertion dans la bdd

This commit is contained in:
Paul Gross
2020-05-05 15:28:51 +02:00
parent 8952512b3e
commit f8be85ad5e
24 changed files with 316 additions and 67 deletions

View File

@ -17,7 +17,7 @@ public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception {
final URL fxmlURL = getClass().getResource("ressources/Jouer_tour(1)lancer_des.fxml"); // "ressources/Jouer_tour(1)lancer_des.fxml"
final URL fxmlURL = getClass().getResource("ressources/Menu.fxml"); // "ressources/Jouer_tour(1)lancer_des.fxml"
final ResourceBundle bundle = ResourceBundle.getBundle("domaine.properties.langue", Locale.FRANCE);
final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle);
Pane root = fxmlLoader.load();
@ -39,7 +39,5 @@ public class Main extends Application {
//System.err.close();
GestionnaireJeu gj = GestionnaireJeu.getGestionnaireJeu();
launch(args);
}
}

View File

@ -51,8 +51,7 @@ public class GestionnaireDePions {
hbox = (HBox) this.gridPaneLieux.getChildren().get(1);
}else {
hbox = (HBox) this.gridPaneLieux.getChildren().get(2);
hbox = (HBox) this.gridPaneLieux.getChildren().get(2);
}
StackPane sp = (StackPane) hbox.getChildren().get(indexCL%2);