diff --git a/src/ihm/Main.java b/src/ihm/Main.java index f8fd0b7..21893df 100644 --- a/src/ihm/Main.java +++ b/src/ihm/Main.java @@ -15,7 +15,7 @@ public class Main extends Application { public void start(Stage primaryStage) throws Exception { System.out.println("Lancement de l'application"); - final URL fxmlURL = getClass().getResource("ressources/parametre.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.ENGLISH); final FXMLLoader fxmlLoader = new FXMLLoader(fxmlURL, bundle); Pane root = fxmlLoader.load(); diff --git a/src/ihm/controller/PlateauController.java b/src/ihm/controller/PlateauController.java index 99ef137..03a9ceb 100644 --- a/src/ihm/controller/PlateauController.java +++ b/src/ihm/controller/PlateauController.java @@ -17,49 +17,65 @@ import javafx.fxml.Initializable; import javafx.scene.Parent; import javafx.scene.control.Button; import javafx.scene.control.Label; +import javafx.scene.image.ImageView; +import javafx.scene.layout.AnchorPane; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; -import main.GestionnaireJeu; import main.Joueur; import main.View; public class PlateauController implements Initializable { private List listJoueur = new ArrayList(); private List vboxJoueur = new ArrayList(); + private List hboxJoueur = new ArrayList(); private List + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - + + + + + + + +