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<Label> nomJoueur = new ArrayList<Label>();
|
||||||
private List<AnchorPane> tour = new ArrayList<AnchorPane>();
|
private List<AnchorPane> tour = new ArrayList<AnchorPane>();
|
||||||
|
|
||||||
|
|
||||||
|
private List<JoueurIHM> joueursIHM;
|
||||||
|
|
||||||
@FXML private HBox lieux;
|
@FXML private HBox lieux;
|
||||||
@FXML private HBox vie;
|
@FXML private HBox vie;
|
||||||
|
|
||||||
@ -64,19 +67,22 @@ public class PlateauController implements Initializable {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void initialize(URL arg0, ResourceBundle arg1) {
|
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();
|
GestionnaireJeu gj = GestionnaireJeu.getGestionnaireJeu();
|
||||||
|
|
||||||
this.joueursPane = new HashMap<Joueur, Pane>();
|
|
||||||
Map<Integer, Joueur> map = gj.getMapJoueurs();
|
Map<Integer, Joueur> map = gj.getMapJoueurs();
|
||||||
|
|
||||||
for(int i : map.keySet()) {
|
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(joueur1);
|
||||||
this.hboxJoueur.add(joueur2);
|
this.hboxJoueur.add(joueur2);
|
||||||
@ -155,7 +161,7 @@ public class PlateauController implements Initializable {
|
|||||||
// TODO Auto-generated catch block
|
// TODO Auto-generated catch block
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private Pane getPaneJoueur(int i) {
|
private Pane getPaneJoueur(int i) {
|
||||||
|
@ -1,20 +1,17 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?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>
|
<children>
|
||||||
<Label layoutX="70.0" layoutY="201.0" text="%voler.equipement.joueur">
|
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<font>
|
<children>
|
||||||
<Font size="24.0" />
|
<Label layoutX="58.0" layoutY="62.0" text="%voler.equipement.joueur" />
|
||||||
</font>
|
<Label layoutX="53.0" layoutY="90.0" text="%choisir.equipement.a.voler" />
|
||||||
</Label>
|
</children>
|
||||||
<Label layoutX="154.0" layoutY="260.0" text="%choisir.equipement.a.voler">
|
</Pane>
|
||||||
<font>
|
|
||||||
<Font size="14.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -1,15 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?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>
|
<children>
|
||||||
<Label layoutX="250.0" layoutY="227.0" text="%piocher.carte">
|
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<font>
|
<children>
|
||||||
<Font size="18.0" />
|
<Label layoutX="88.0" layoutY="82.0" text="%piocher.carte" />
|
||||||
</font>
|
</children>
|
||||||
</Label>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -2,45 +2,34 @@
|
|||||||
|
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
<?import javafx.scene.image.ImageView?>
|
<?import javafx.scene.image.ImageView?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.HBox?>
|
<?import javafx.scene.layout.HBox?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
<?import javafx.scene.layout.VBox?>
|
<?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>
|
<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>
|
<children>
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
<VBox alignment="CENTER" prefHeight="180.0" prefWidth="255.0">
|
||||||
<children>
|
<children>
|
||||||
<Label prefHeight="27.0" prefWidth="54.0" text="%carte">
|
<HBox alignment="CENTER" prefHeight="72.0" prefWidth="357.0">
|
||||||
<font>
|
<children>
|
||||||
<Font size="18.0" />
|
<Label prefHeight="27.0" prefWidth="54.0" text="%carte" />
|
||||||
</font>
|
<Label prefHeight="17.0" prefWidth="121.0" text="*Lumiere ou Tenebre" />
|
||||||
</Label>
|
</children>
|
||||||
<Label prefHeight="27.0" prefWidth="175.0" text="*Lumiere ou Tenebre">
|
</HBox>
|
||||||
<font>
|
<ImageView fitHeight="131.0" fitWidth="94.0" pickOnBounds="true" preserveRatio="true" />
|
||||||
<Font size="18.0" />
|
<HBox alignment="CENTER" prefHeight="111.0" prefWidth="600.0">
|
||||||
</font>
|
<children>
|
||||||
</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>
|
</children>
|
||||||
</HBox>
|
</VBox>
|
||||||
<ImageView fitHeight="326.0" fitWidth="233.5" 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>
|
|
||||||
</children>
|
|
||||||
</HBox>
|
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -4,31 +4,28 @@
|
|||||||
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
<?import javafx.scene.image.ImageView?>
|
<?import javafx.scene.image.ImageView?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
<?import javafx.scene.layout.VBox?>
|
<?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>
|
<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>
|
<children>
|
||||||
<Label prefHeight="27.0" prefWidth="106.0" text="%carte.vision">
|
<VBox alignment="CENTER" prefHeight="180.0" prefWidth="255.0">
|
||||||
<font>
|
<children>
|
||||||
<Font size="18.0" />
|
<Label prefHeight="17.0" prefWidth="76.0" text="%carte.vision" />
|
||||||
</font>
|
<ImageView fitHeight="104.0" fitWidth="75.0" pickOnBounds="true" preserveRatio="true" />
|
||||||
</Label>
|
<Label prefHeight="17.0" prefWidth="155.0" text="%carte.vue.par.joueur.pioche" />
|
||||||
<ImageView fitHeight="326.0" fitWidth="233.5" pickOnBounds="true" preserveRatio="true" />
|
<Button mnemonicParsing="false" onMouseClicked="#voirCarte" text="%voir.carte">
|
||||||
<Label prefHeight="27.0" prefWidth="473.0" text="%carte.vue.par.joueur.pioche">
|
<VBox.margin>
|
||||||
<font>
|
<Insets top="5.0" />
|
||||||
<Font size="18.0" />
|
</VBox.margin>
|
||||||
</font>
|
</Button>
|
||||||
</Label>
|
</children>
|
||||||
<Button mnemonicParsing="false" onMouseClicked="#voirCarte" text="%voir.carte">
|
</VBox>
|
||||||
<VBox.margin>
|
|
||||||
<Insets top="5.0" />
|
|
||||||
</VBox.margin>
|
|
||||||
</Button>
|
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -2,48 +2,41 @@
|
|||||||
|
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
<?import javafx.scene.image.ImageView?>
|
<?import javafx.scene.image.ImageView?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.HBox?>
|
<?import javafx.scene.layout.HBox?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?import javafx.scene.layout.Pane?>
|
||||||
<?import javafx.scene.layout.VBox?>
|
<?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>
|
<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>
|
<children>
|
||||||
<HBox alignment="CENTER" prefHeight="184.0" prefWidth="600.0">
|
<VBox alignment="CENTER" prefHeight="165.0" prefWidth="255.0">
|
||||||
<children>
|
<children>
|
||||||
<VBox alignment="CENTER" prefHeight="178.0" prefWidth="599.0">
|
<HBox alignment="CENTER" prefHeight="184.0" prefWidth="600.0">
|
||||||
<children>
|
<children>
|
||||||
<Label prefHeight="27.0" prefWidth="103.0" text="%voir.carte">
|
<VBox alignment="CENTER" prefHeight="178.0" prefWidth="599.0">
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
|
||||||
<children>
|
<children>
|
||||||
<ImageView fitHeight="326.0" fitWidth="233.5" pickOnBounds="true" preserveRatio="true" />
|
<Label prefHeight="17.0" prefWidth="69.0" text="%voir.carte" />
|
||||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||||
<children>
|
<children>
|
||||||
<Label prefHeight="27.0" prefWidth="138.0" text="*Effet de la carte" textAlignment="CENTER">
|
<ImageView fitHeight="114.0" fitWidth="82.0" pickOnBounds="true" preserveRatio="true" />
|
||||||
<font>
|
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||||
<Font size="18.0" />
|
<children>
|
||||||
</font>
|
<Label prefHeight="27.0" prefWidth="97.0" text="*Effet de la carte" textAlignment="CENTER" />
|
||||||
</Label>
|
</children>
|
||||||
|
</HBox>
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</HBox>
|
||||||
|
<Label prefHeight="17.0" prefWidth="136.0" text="%jouer.a.qui.donner.carte" />
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</VBox>
|
||||||
<Label prefHeight="27.0" prefWidth="340.0" text="%jouer.a.qui.donner.carte">
|
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</HBox>
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</VBox>
|
||||||
</children>
|
</children>
|
||||||
</VBox>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -2,33 +2,27 @@
|
|||||||
|
|
||||||
<?import javafx.geometry.Insets?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.HBox?>
|
<?import javafx.scene.layout.HBox?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?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>
|
<children>
|
||||||
<Label contentDisplay="CENTER" layoutX="226.0" layoutY="200.0" prefHeight="27.0" prefWidth="149.0" text="Il ne se passe rien." textAlignment="CENTER">
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<font>
|
|
||||||
<Font size="18.0" />
|
|
||||||
</font>
|
|
||||||
</Label>
|
|
||||||
<HBox alignment="CENTER" layoutX="-1.0" layoutY="179.0" prefHeight="21.0" prefWidth="600.0">
|
|
||||||
<children>
|
<children>
|
||||||
<Label text="%joueur">
|
<Label contentDisplay="CENTER" layoutX="77.0" layoutY="90.0" prefHeight="27.0" prefWidth="102.0" text="Il ne se passe rien." textAlignment="CENTER" />
|
||||||
<font>
|
<HBox alignment="CENTER" layoutY="62.0" prefHeight="21.0" prefWidth="255.0">
|
||||||
<Font size="18.0" />
|
<children>
|
||||||
</font>
|
<Label text="%joueur" />
|
||||||
</Label>
|
<Label text="%consequence">
|
||||||
<Label text="%consequence">
|
<HBox.margin>
|
||||||
<font>
|
<Insets left="5.0" />
|
||||||
<Font size="18.0" />
|
</HBox.margin>
|
||||||
</font>
|
</Label>
|
||||||
<HBox.margin>
|
</children>
|
||||||
<Insets left="5.0" />
|
</HBox>
|
||||||
</HBox.margin>
|
|
||||||
</Label>
|
|
||||||
</children>
|
</children>
|
||||||
</HBox>
|
</Pane>
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
@ -2,19 +2,17 @@
|
|||||||
|
|
||||||
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
<?import javafx.scene.layout.AnchorPane?>
|
||||||
<?import javafx.scene.layout.Pane?>
|
<?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>
|
<children>
|
||||||
<Label layoutX="66.0" layoutY="200.0" text="%attaquer.ou.soigner">
|
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||||
<font>
|
<children>
|
||||||
<Font size="24.0" />
|
<Label layoutX="71.0" layoutY="57.0" text="%attaquer.ou.soigner" />
|
||||||
</font>
|
<Button layoutX="86.0" layoutY="100.0" mnemonicParsing="false" text="%se.soigner" />
|
||||||
</Label>
|
</children>
|
||||||
<Button layoutX="278.0" layoutY="255.0" mnemonicParsing="false" text="%se.soigner">
|
</Pane>
|
||||||
<font>
|
|
||||||
<Font size="14.0" />
|
|
||||||
</font></Button>
|
|
||||||
</children>
|
</children>
|
||||||
</Pane>
|
</AnchorPane>
|
||||||
|
File diff suppressed because it is too large
Load Diff
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