Merge branch 'development' of https://github.com/PTE-SH/ShadowHunterGame into development
This commit is contained in:
commit
99507e8d39
70
src/ihm/controller/JoueurIHM.java
Normal file
70
src/ihm/controller/JoueurIHM.java
Normal file
@ -0,0 +1,70 @@
|
||||
package ihm.controller;
|
||||
|
||||
import javafx.scene.control.Button;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.image.ImageView;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.scene.layout.Pane;
|
||||
import main.Joueur;
|
||||
|
||||
public class JoueurIHM {
|
||||
|
||||
private int position;
|
||||
private Joueur joueur;
|
||||
private Pane pane;
|
||||
|
||||
public JoueurIHM(int i, Joueur joueur, Pane pane) {
|
||||
this.setPosition(i);
|
||||
this.setJoueur(joueur);
|
||||
this.pane = pane;
|
||||
|
||||
String name = joueur.getNom();
|
||||
setLabelJoueur(name);
|
||||
}
|
||||
|
||||
public Button getRevealButton() {
|
||||
Pane p = (Pane) pane.getChildren().get(1);
|
||||
return (Button) p.getChildren().get(1);
|
||||
}
|
||||
|
||||
public ImageView getCartePersonnage() {
|
||||
Pane p = (Pane) pane.getChildren().get(1);
|
||||
return (ImageView) p.getChildren().get(0);
|
||||
}
|
||||
|
||||
public AnchorPane getZoneJoueur() {
|
||||
return (AnchorPane) pane.getChildren().get(0);
|
||||
}
|
||||
|
||||
public Label getLabelJoueur() {
|
||||
Pane p = (Pane) pane.getChildren().get(2);
|
||||
return (Label) p.getChildren().get(0);
|
||||
}
|
||||
|
||||
public void setLabelJoueur(String name) {
|
||||
Label label = getLabelJoueur();
|
||||
label.setText(name);
|
||||
}
|
||||
|
||||
public Label getPaneEquipement() {
|
||||
Pane p = (Pane) pane.getChildren().get(2);
|
||||
return (Label) p.getChildren().get(1);
|
||||
}
|
||||
|
||||
public int getPosition() {
|
||||
return position;
|
||||
}
|
||||
|
||||
public void setPosition(int position) {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public Joueur getJoueur() {
|
||||
return joueur;
|
||||
}
|
||||
|
||||
public void setJoueur(Joueur joueur) {
|
||||
this.joueur = joueur;
|
||||
}
|
||||
|
||||
}
|
@ -49,6 +49,9 @@ public class PlateauController implements Initializable {
|
||||
private List<Label> nomJoueur = new ArrayList<Label>();
|
||||
private List<AnchorPane> tour = new ArrayList<AnchorPane>();
|
||||
|
||||
|
||||
private List<JoueurIHM> joueursIHM;
|
||||
|
||||
@FXML private HBox lieux;
|
||||
@FXML private HBox vie;
|
||||
|
||||
@ -64,19 +67,22 @@ public class PlateauController implements Initializable {
|
||||
*/
|
||||
@Override
|
||||
public void initialize(URL arg0, ResourceBundle arg1) {
|
||||
System.out.println("Création du plateau ...");
|
||||
//System.out.println("Création du plateau ...");
|
||||
|
||||
this.joueursIHM = new ArrayList<JoueurIHM>();
|
||||
|
||||
GestionnaireJeu gj = GestionnaireJeu.getGestionnaireJeu();
|
||||
|
||||
this.joueursPane = new HashMap<Joueur, Pane>();
|
||||
Map<Integer, Joueur> map = gj.getMapJoueurs();
|
||||
|
||||
for(int i : map.keySet()) {
|
||||
this.joueursPane.put(map.get(i), getPaneJoueur(i));
|
||||
|
||||
joueursIHM.add(new JoueurIHM(i,map.get(i),getPaneJoueur(i)));
|
||||
}
|
||||
|
||||
System.out.println(joueursPane);
|
||||
|
||||
|
||||
//System.out.println(this.joueursPane);
|
||||
|
||||
|
||||
this.hboxJoueur.add(joueur1);
|
||||
this.hboxJoueur.add(joueur2);
|
||||
|
@ -1,20 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="480.0" prefWidth="640.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.JouerSonTour5Controller">
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label layoutX="70.0" layoutY="201.0" text="%voler.equipement.joueur">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label layoutX="154.0" layoutY="260.0" text="%choisir.equipement.a.voler">
|
||||
<font>
|
||||
<Font size="14.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||
<children>
|
||||
<Label layoutX="58.0" layoutY="62.0" text="%voler.equipement.joueur" />
|
||||
<Label layoutX="53.0" layoutY="90.0" text="%choisir.equipement.a.voler" />
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
@ -1,15 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="480.0" prefWidth="640.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.JouerSonTour6Controller">
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label layoutX="250.0" layoutY="227.0" text="%piocher.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||
<children>
|
||||
<Label layoutX="88.0" layoutY="82.0" text="%piocher.carte" />
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
@ -2,45 +2,34 @@
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="480.0" prefWidth="640.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.PiocherLumiereTenebreController">
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="480.0" prefWidth="640.0">
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<VBox alignment="CENTER" prefHeight="180.0" prefWidth="255.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="54.0" text="%carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="27.0" prefWidth="175.0" text="*Lumiere ou Tenebre">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<HBox alignment="CENTER" prefHeight="72.0" prefWidth="357.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="54.0" text="%carte" />
|
||||
<Label prefHeight="17.0" prefWidth="121.0" text="*Lumiere ou Tenebre" />
|
||||
</children>
|
||||
</HBox>
|
||||
<ImageView fitHeight="326.0" fitWidth="233.5" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="131.0" fitWidth="94.0" pickOnBounds="true" preserveRatio="true" />
|
||||
<HBox alignment="CENTER" prefHeight="111.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="54.0" text="%effet">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="27.0" prefWidth="142.0" text="*effet de la carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="27.0" prefWidth="54.0" text="%effet" />
|
||||
<Label prefHeight="27.0" prefWidth="91.0" text="*effet de la carte" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
@ -4,25 +4,20 @@
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="480.0" prefWidth="640.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.PiocherVisionController">
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="480.0" prefWidth="640.0">
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="106.0" text="%carte.vision">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<ImageView fitHeight="326.0" fitWidth="233.5" pickOnBounds="true" preserveRatio="true" />
|
||||
<Label prefHeight="27.0" prefWidth="473.0" text="%carte.vue.par.joueur.pioche">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<VBox alignment="CENTER" prefHeight="180.0" prefWidth="255.0">
|
||||
<children>
|
||||
<Label prefHeight="17.0" prefWidth="76.0" text="%carte.vision" />
|
||||
<ImageView fitHeight="104.0" fitWidth="75.0" pickOnBounds="true" preserveRatio="true" />
|
||||
<Label prefHeight="17.0" prefWidth="155.0" text="%carte.vue.par.joueur.pioche" />
|
||||
<Button mnemonicParsing="false" onMouseClicked="#voirCarte" text="%voir.carte">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
@ -32,3 +27,5 @@
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
@ -2,43 +2,34 @@
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="480.0" prefWidth="640.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.JouerSonTourDonnerVisionController">
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="400.0" prefWidth="600.0">
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="165.0" prefWidth="255.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="184.0" prefWidth="600.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="178.0" prefWidth="599.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="103.0" text="%voir.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="17.0" prefWidth="69.0" text="%voir.carte" />
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<ImageView fitHeight="326.0" fitWidth="233.5" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="114.0" fitWidth="82.0" pickOnBounds="true" preserveRatio="true" />
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="138.0" text="*Effet de la carte" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="27.0" prefWidth="97.0" text="*Effet de la carte" textAlignment="CENTER" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label prefHeight="27.0" prefWidth="340.0" text="%jouer.a.qui.donner.carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="17.0" prefWidth="136.0" text="%jouer.a.qui.donner.carte" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
@ -47,3 +38,5 @@
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
@ -2,28 +2,20 @@
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label contentDisplay="CENTER" layoutX="226.0" layoutY="200.0" prefHeight="27.0" prefWidth="149.0" text="Il ne se passe rien." textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<HBox alignment="CENTER" layoutX="-1.0" layoutY="179.0" prefHeight="21.0" prefWidth="600.0">
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||
<children>
|
||||
<Label text="%joueur">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label contentDisplay="CENTER" layoutX="77.0" layoutY="90.0" prefHeight="27.0" prefWidth="102.0" text="Il ne se passe rien." textAlignment="CENTER" />
|
||||
<HBox alignment="CENTER" layoutY="62.0" prefHeight="21.0" prefWidth="255.0">
|
||||
<children>
|
||||
<Label text="%joueur" />
|
||||
<Label text="%consequence">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
@ -32,3 +24,5 @@
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
@ -2,19 +2,17 @@
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="480.0" prefWidth="640.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label layoutX="66.0" layoutY="200.0" text="%attaquer.ou.soigner">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="278.0" layoutY="255.0" mnemonicParsing="false" text="%se.soigner">
|
||||
<font>
|
||||
<Font size="14.0" />
|
||||
</font></Button>
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||
<children>
|
||||
<Label layoutX="71.0" layoutY="57.0" text="%attaquer.ou.soigner" />
|
||||
<Button layoutX="86.0" layoutY="100.0" mnemonicParsing="false" text="%se.soigner" />
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
@ -12,367 +12,11 @@
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Circle?>
|
||||
|
||||
<AnchorPane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="1080.0" prefWidth="1920.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.PlateauController">
|
||||
<AnchorPane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="898.0" prefWidth="1423.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.PlateauController">
|
||||
<children>
|
||||
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="800.0" prefWidth="1280.0" styleClass="background" stylesheets="@style/plateau.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<top>
|
||||
<HBox alignment="CENTER" prefHeight="180.0" prefWidth="1343.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox fx:id="joueur1" prefHeight="180.0" prefWidth="731.0" rotate="180.0">
|
||||
<children>
|
||||
<AnchorPane prefHeight="155.0" prefWidth="255.0" styleClass="tour" />
|
||||
<VBox alignment="CENTER" prefHeight="155.0" prefWidth="116.0">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin></ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="164.0" prefWidth="212.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox prefHeight="72.0" prefWidth="274.0" styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets right="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<HBox fx:id="joueur2" prefHeight="155.0" prefWidth="731.0" rotate="180.0">
|
||||
<children>
|
||||
<AnchorPane prefHeight="155.0" prefWidth="255.0" styleClass="tour" />
|
||||
<VBox alignment="CENTER" prefHeight="155.0" prefWidth="116.0">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin></ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="164.0" prefWidth="212.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox prefHeight="72.0" prefWidth="274.0" styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets right="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox alignment="CENTER" prefHeight="180.0" prefWidth="1920.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox fx:id="joueur3" prefHeight="180.0" prefWidth="731.0">
|
||||
<children>
|
||||
<AnchorPane prefHeight="180.0" prefWidth="255.0" styleClass="tour" />
|
||||
<VBox alignment="CENTER" prefHeight="155.0" prefWidth="116.0">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin></ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="164.0" prefWidth="212.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox prefHeight="72.0" prefWidth="274.0" styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets right="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<HBox fx:id="joueur4" prefHeight="180.0" prefWidth="731.0">
|
||||
<children>
|
||||
<AnchorPane prefHeight="155.0" prefWidth="255.0" styleClass="tour" />
|
||||
<VBox alignment="CENTER" prefHeight="155.0" prefWidth="116.0">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin></ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="164.0" prefWidth="212.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox prefHeight="72.0" prefWidth="274.0" styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets left="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</bottom>
|
||||
<left>
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="1004.0" prefWidth="444.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<VBox fx:id="joueur5" alignment="CENTER" prefHeight="285.0" prefWidth="445.0" rotate="90.0">
|
||||
<children>
|
||||
<AnchorPane maxHeight="180.0" maxWidth="255.0" minHeight="180.0" minWidth="255.0" prefHeight="180.0" prefWidth="255.0" styleClass="tour" />
|
||||
<HBox prefHeight="138.0" prefWidth="428.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="179.0" prefWidth="329.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox prefHeight="24.0" prefWidth="329.0" styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin></ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets top="150.0" />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets top="120.0" />
|
||||
</padding>
|
||||
</VBox>
|
||||
<VBox fx:id="joueur6" alignment="CENTER" prefHeight="285.0" prefWidth="445.0" rotate="90.0">
|
||||
<children>
|
||||
<AnchorPane maxHeight="180.0" maxWidth="255.0" minHeight="180.0" minWidth="255.0" prefHeight="180.0" prefWidth="255.0" styleClass="tour" />
|
||||
<HBox prefHeight="138.0" prefWidth="428.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="179.0" prefWidth="329.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox prefHeight="24.0" prefWidth="329.0" styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin></ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets top="120.0" />
|
||||
</padding>
|
||||
</VBox>
|
||||
</children>
|
||||
<BorderPane.margin>
|
||||
<Insets top="-170.0" />
|
||||
</BorderPane.margin>
|
||||
</VBox>
|
||||
</left>
|
||||
<right>
|
||||
<VBox alignment="CENTER_RIGHT" prefHeight="864.0" prefWidth="444.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<VBox fx:id="joueur7" alignment="CENTER" prefHeight="285.0" prefWidth="445.0" rotate="270.0">
|
||||
<children>
|
||||
<AnchorPane maxHeight="180.0" maxWidth="255.0" minHeight="180.0" minWidth="255.0" prefHeight="180.0" prefWidth="255.0" styleClass="tour" />
|
||||
<HBox prefHeight="138.0" prefWidth="428.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="179.0" prefWidth="329.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox prefHeight="24.0" prefWidth="329.0" styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin></ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets top="120.0" />
|
||||
</padding>
|
||||
</VBox>
|
||||
<VBox fx:id="joueur8" alignment="CENTER" prefHeight="285.0" prefWidth="445.0" rotate="270.0">
|
||||
<children>
|
||||
<AnchorPane maxHeight="180.0" maxWidth="255.0" minHeight="180.0" minWidth="255.0" prefHeight="180.0" prefWidth="255.0" styleClass="tour" />
|
||||
<HBox prefHeight="138.0" prefWidth="428.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="179.0" prefWidth="329.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox prefHeight="24.0" prefWidth="329.0" styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="65.2" fitWidth="46.7" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin></ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets top="120.0" />
|
||||
</padding>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</right>
|
||||
<BorderPane layoutX="7.0" prefHeight="1077.0" prefWidth="1868.0" styleClass="background" stylesheets="@style/plateau.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<center>
|
||||
<BorderPane styleClass="background" stylesheets="@style/plateau.css">
|
||||
<center>
|
||||
<HBox alignment="CENTER" prefHeight="720.0" prefWidth="1078.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
@ -383,7 +27,8 @@
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true" styleClass="background">
|
||||
<image>
|
||||
<Image url="@img/dosCartesLumière.jpg" />
|
||||
</image></ImageView>
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0" styleClass="carteVision" stylesheets="@style/plateau.css">
|
||||
@ -391,7 +36,8 @@
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesVision.jpg" />
|
||||
</image></ImageView>
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="30.0" top="30.0" />
|
||||
@ -402,7 +48,8 @@
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesNoires.jpg" />
|
||||
</image></ImageView>
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
@ -676,6 +323,328 @@
|
||||
</children>
|
||||
</HBox>
|
||||
</center>
|
||||
<bottom>
|
||||
<HBox alignment="CENTER" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox fx:id="joueur3">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets right="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<HBox fx:id="joueur4" nodeOrientation="RIGHT_TO_LEFT">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets left="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</bottom>
|
||||
<top>
|
||||
<HBox alignment="CENTER" rotate="180.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox fx:id="joueur32">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets right="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<HBox fx:id="joueur42" nodeOrientation="RIGHT_TO_LEFT">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets left="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</top>
|
||||
</BorderPane>
|
||||
</center>
|
||||
<left>
|
||||
<VBox alignment="CENTER" prefHeight="634.0" prefWidth="199.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox fx:id="joueur31" prefHeight="132.0" prefWidth="118.0" rotate="90.0">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox fx:id="joueur41" nodeOrientation="RIGHT_TO_LEFT" prefHeight="132.0" prefWidth="230.0" rotate="90.0">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label prefHeight="21.0" prefWidth="98.0" styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets top="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</left>
|
||||
<right>
|
||||
<VBox alignment="CENTER" prefHeight="634.0" prefWidth="200.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox fx:id="joueur411" nodeOrientation="RIGHT_TO_LEFT" prefHeight="132.0" prefWidth="230.0" rotate="270.0">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label prefHeight="21.0" prefWidth="98.0" styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox fx:id="joueur311" prefHeight="132.0" prefWidth="118.0" rotate="270.0">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets top="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</right>
|
||||
</BorderPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
|
660
src/ihm/ressources/PlateauTest.fxml
Normal file
660
src/ihm/ressources/PlateauTest.fxml
Normal file
@ -0,0 +1,660 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import java.lang.String?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Circle?>
|
||||
|
||||
<AnchorPane fx:id="rootPane" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.PlateauController">
|
||||
<children>
|
||||
<BorderPane layoutX="7.0" prefHeight="1077.0" prefWidth="1868.0" styleClass="background" stylesheets="@style/plateau.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<center>
|
||||
<BorderPane styleClass="background" stylesheets="@style/plateau.css">
|
||||
<center>
|
||||
<HBox alignment="CENTER" prefHeight="720.0" prefWidth="1078.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<VBox alignment="CENTER_LEFT" prefWidth="22.0">
|
||||
<children>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0" styleClass="carteLumiere" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true" styleClass="background">
|
||||
<image>
|
||||
<Image url="@img/dosCartesLumière.jpg" />
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0" styleClass="carteVision" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesVision.jpg" />
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="30.0" top="30.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0" styleClass="carteTenebre" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesNoires.jpg" />
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="496.0" prefWidth="739.0">
|
||||
<children>
|
||||
<HBox fx:id="lieux" alignment="TOP_CENTER" prefHeight="339.0" prefWidth="676.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="223.0" prefWidth="0.0">
|
||||
<children>
|
||||
<Circle fill="#ff1f1f" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ffd71f" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ecff1f" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#64ff1f" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
</children>
|
||||
</VBox>
|
||||
<HBox alignment="TOP_CENTER" prefHeight="100.0" prefWidth="200.0" styleClass="lieux" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true">
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
</ImageView>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="10.0" />
|
||||
</HBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="BOTTOM_CENTER" prefHeight="100.0" prefWidth="200.0" styleClass="lieux" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true">
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
</ImageView>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="TOP_CENTER" prefHeight="223.0" prefWidth="193.0" styleClass="lieux" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true">
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
</ImageView>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="10.0" />
|
||||
</HBox.margin>
|
||||
</HBox>
|
||||
<VBox alignment="CENTER" prefHeight="223.0" prefWidth="0.0">
|
||||
<children>
|
||||
<Circle fill="#21ffee" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#2168ff" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#d921ff" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ff21ad" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<VBox alignment="BOTTOM_CENTER" prefHeight="200.0" prefWidth="771.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER_RIGHT" prefHeight="60.0" prefWidth="671.0">
|
||||
<children>
|
||||
<Label alignment="CENTER" contentDisplay="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="Allie" />
|
||||
<VBox alignment="CENTER" prefHeight="60.0" prefWidth="50.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Bob" />
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Emi" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="60.0" prefWidth="50.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Charles" />
|
||||
</children>
|
||||
</VBox>
|
||||
<Label alignment="CENTER" contentDisplay="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="Franklin" />
|
||||
<VBox alignment="CENTER" prefHeight="60.0" prefWidth="50.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Vampire" />
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Daniel" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="60.0" prefWidth="50.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Loup-" />
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="garou" />
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="George" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox fx:id="vie" prefHeight="58.0" prefWidth="655.0">
|
||||
<children>
|
||||
<HBox prefHeight="100.0" prefWidth="0.0" />
|
||||
<HBox alignment="CENTER" prefHeight="64.0" prefWidth="50.0" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="87.0" prefWidth="2.0">
|
||||
<children>
|
||||
<Circle fill="#ff1f1f" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ffd71f" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ecff1f" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#64ff1f" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="87.0" prefWidth="4.0">
|
||||
<children>
|
||||
<Circle fill="#21ffee" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#2168ff" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#d921ff" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ff21ad" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
<styleClass>
|
||||
<String fx:value="barreDeVie" />
|
||||
<String fx:value="zero" />
|
||||
</styleClass>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
<styleClass>
|
||||
<String fx:value="barreDeVie" />
|
||||
<String fx:value="un" />
|
||||
</styleClass>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
<styleClass>
|
||||
<String fx:value="barreDeVie" />
|
||||
<String fx:value="deux" />
|
||||
</styleClass>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
<styleClass>
|
||||
<String fx:value="barreDeVie" />
|
||||
<String fx:value="trois" />
|
||||
</styleClass>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
<styleClass>
|
||||
<String fx:value="barreDeVie" />
|
||||
<String fx:value="quatre" />
|
||||
</styleClass>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="18.0" prefWidth="655.0">
|
||||
<children>
|
||||
<VBox prefHeight="41.0" prefWidth="50.0">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="%pas.de" />
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="%dégats" />
|
||||
</children>
|
||||
</VBox>
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="1" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="2" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="3" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="4" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="5" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="6" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="7" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="8" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="9" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="10" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="11" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="12" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="13" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="14" textAlignment="CENTER" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER_RIGHT" prefHeight="496.0" prefWidth="29.0">
|
||||
<children>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0" styleClass="carteLumiere" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0" styleClass="carteVision" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="30.0" top="30.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0" styleClass="carteTenebre" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</center>
|
||||
<bottom>
|
||||
<HBox alignment="CENTER" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox fx:id="joueur3">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets right="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<HBox fx:id="joueur4" nodeOrientation="RIGHT_TO_LEFT">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets left="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</bottom>
|
||||
<top>
|
||||
<HBox alignment="CENTER" rotate="180.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox fx:id="joueur32">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets right="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<HBox fx:id="joueur42" nodeOrientation="RIGHT_TO_LEFT">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets left="10.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</top>
|
||||
<left>
|
||||
<VBox alignment="CENTER" prefHeight="634.0" prefWidth="166.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox fx:id="joueur31" prefHeight="132.0" prefWidth="118.0" rotate="90.0">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox fx:id="joueur41" nodeOrientation="RIGHT_TO_LEFT" prefHeight="132.0" prefWidth="230.0" rotate="90.0">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label prefHeight="21.0" prefWidth="98.0" styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets top="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</left>
|
||||
<right>
|
||||
<VBox alignment="CENTER" prefHeight="634.0" prefWidth="152.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox fx:id="joueur411" nodeOrientation="RIGHT_TO_LEFT" prefHeight="132.0" prefWidth="230.0" rotate="270.0">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label prefHeight="21.0" prefWidth="98.0" styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox fx:id="joueur311" prefHeight="132.0" prefWidth="118.0" rotate="270.0">
|
||||
<children>
|
||||
<AnchorPane styleClass="tour" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</ImageView>
|
||||
<Button mnemonicParsing="false" styleClass="bouton" stylesheets="@style/plateau.css" text="%se.reveler" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Nom joueur" />
|
||||
<HBox styleClass="carteEquipement" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets right="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets top="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</right>
|
||||
</BorderPane>
|
||||
</center>
|
||||
<left>
|
||||
<VBox alignment="CENTER" spacing="60.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<VBox fx:id="joueur51" alignment="CENTER" layoutX="10.0" layoutY="481.0" nodeOrientation="LEFT_TO_RIGHT" rotate="90.0" />
|
||||
</children>
|
||||
</VBox>
|
||||
</left>
|
||||
<right>
|
||||
<VBox alignment="CENTER" rotate="180.0" spacing="60.0" BorderPane.alignment="CENTER" />
|
||||
</right>
|
||||
</BorderPane>
|
||||
</children>
|
||||
</AnchorPane>
|
Loading…
x
Reference in New Issue
Block a user