rebase branch ok
This commit is contained in:
21
src/ihm/Main.java
Normal file
21
src/ihm/Main.java
Normal file
@ -0,0 +1,21 @@
|
||||
package ihm;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
public class Main extends Application{
|
||||
@Override
|
||||
public void start(Stage primaryStage) throws Exception{
|
||||
Parent root = FXMLLoader.load(getClass().getResource("ressources/Menu.fxml"));
|
||||
primaryStage.setTitle("Shadow Hunters");
|
||||
primaryStage.setScene(new Scene(root));
|
||||
primaryStage.show();
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
launch(args);
|
||||
}
|
||||
}
|
18
src/ihm/controller/MenuController.java
Normal file
18
src/ihm/controller/MenuController.java
Normal file
@ -0,0 +1,18 @@
|
||||
package ihm.controller;
|
||||
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.input.MouseEvent;
|
||||
|
||||
public class MenuController {
|
||||
@FXML
|
||||
private Label label;
|
||||
|
||||
public void afficheBonjour(MouseEvent mouseEvent) {
|
||||
System.out.println("Bonjouuuuur!");
|
||||
}
|
||||
|
||||
public void changerNom(MouseEvent mouseEvent) {
|
||||
System.out.println("clik");
|
||||
}
|
||||
}
|
24
src/ihm/ressources/Cartes_lumieres_avenement_supreme.fxml
Normal file
24
src/ihm/ressources/Cartes_lumieres_avenement_supreme.fxml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="625.0" prefWidth="947.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Button layoutX="156.0" layoutY="180.0" lineSpacing="2.0" mnemonicParsing="false" prefHeight="277.0" prefWidth="184.0" text="Avènement suprême Barre de chocolat" wrapText="true">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="387.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="195.0" text="Se révéler et soigner mes lessures" />
|
||||
<Button layoutX="628.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="171.0" text="Ne rien faire" />
|
||||
<Label layoutX="414.0" layoutY="147.0" prefHeight="89.0" prefWidth="249.0" text="Effet carte">
|
||||
<font>
|
||||
<Font size="52.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
24
src/ihm/ressources/Cartes_lumieres_barre_chocolat.fxml
Normal file
24
src/ihm/ressources/Cartes_lumieres_barre_chocolat.fxml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="625.0" prefWidth="947.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Button layoutX="156.0" layoutY="180.0" lineSpacing="2.0" mnemonicParsing="false" prefHeight="277.0" prefWidth="184.0" text="Avènement suprême Barre de chocolat" wrapText="true">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="387.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="195.0" text="Se révéler et soigner mes lessures" />
|
||||
<Button layoutX="628.0" layoutY="302.0" mnemonicParsing="false" prefHeight="155.0" prefWidth="171.0" text="Ne rien faire" />
|
||||
<Label layoutX="414.0" layoutY="147.0" prefHeight="89.0" prefWidth="249.0" text="Effet carte">
|
||||
<font>
|
||||
<Font size="52.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
35
src/ihm/ressources/Cartes_lumieres_benediction(1).fxml
Normal file
35
src/ihm/ressources/Cartes_lumieres_benediction(1).fxml
Normal file
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="638.0" prefWidth="951.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Button layoutX="73.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 1" />
|
||||
<Button layoutX="298.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 2" />
|
||||
<Button layoutX="515.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 3" />
|
||||
<Button layoutX="745.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 4" />
|
||||
<Button layoutX="73.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 5" />
|
||||
<Button layoutX="298.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 6" />
|
||||
<Button layoutX="515.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 7" />
|
||||
<Button layoutX="745.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 8" />
|
||||
<Button layoutX="177.0" layoutY="134.0" mnemonicParsing="false" prefHeight="327.0" prefWidth="173.0" text="Bénediction">
|
||||
<font>
|
||||
<Font size="23.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Label layoutX="524.0" layoutY="134.0" prefHeight="105.0" prefWidth="254.0" text="Effet carte">
|
||||
<font>
|
||||
<Font size="37.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label layoutX="438.0" layoutY="306.0" prefHeight="115.0" prefWidth="385.0" text="Choisissez un joueur que vous voulez soigner" wrapText="true">
|
||||
<font>
|
||||
<Font size="35.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
23
src/ihm/ressources/Cartes_lumieres_benediction(2).fxml
Normal file
23
src/ihm/ressources/Cartes_lumieres_benediction(2).fxml
Normal file
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?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" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label layoutX="137.0" layoutY="100.0" prefHeight="46.0" prefWidth="362.0" text="Joueur 1 soigne Joueur 2">
|
||||
<font>
|
||||
<Font size="29.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="246.0" layoutY="175.0" mnemonicParsing="false" prefHeight="100.0" prefWidth="109.0" text="6">
|
||||
<font>
|
||||
<Font size="47.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="243.0" layoutY="313.0" mnemonicParsing="false" prefHeight="40.0" prefWidth="116.0" text="Lancer les dès" />
|
||||
</children>
|
||||
</Pane>
|
34
src/ihm/ressources/Cartes_lumieres_premier_secours.fxml
Normal file
34
src/ihm/ressources/Cartes_lumieres_premier_secours.fxml
Normal file
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="638.0" prefWidth="951.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Button layoutX="73.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 1" />
|
||||
<Button layoutX="298.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 2" />
|
||||
<Button layoutX="515.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 3" />
|
||||
<Button layoutX="745.0" layoutY="33.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 4" />
|
||||
<Button layoutX="73.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 5" />
|
||||
<Button layoutX="298.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 6" />
|
||||
<Button layoutX="515.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 7" />
|
||||
<Button layoutX="745.0" layoutY="510.0" mnemonicParsing="false" prefHeight="55.0" prefWidth="156.0" text="Joueur 8" />
|
||||
<Button layoutX="177.0" layoutY="134.0" mnemonicParsing="false" prefHeight="327.0" prefWidth="194.0" text="Premier secours">
|
||||
<font>
|
||||
<Font size="23.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Label layoutX="524.0" layoutY="134.0" prefHeight="105.0" prefWidth="254.0" text="Effet carte">
|
||||
<font>
|
||||
<Font size="37.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label layoutX="438.0" layoutY="306.0" prefHeight="115.0" prefWidth="385.0" text="Choisissez un joueur" wrapText="true">
|
||||
<font>
|
||||
<Font size="35.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
92
src/ihm/ressources/Cartes_tenebres_araigne_sanguinaire.fxml
Normal file
92
src/ihm/ressources/Cartes_tenebres_araigne_sanguinaire.fxml
Normal file
@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.text.*?>
|
||||
<?import javafx.scene.shape.*?>
|
||||
<?import java.lang.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<VBox prefHeight="525.0" prefWidth="806.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 1" textAlignment="CENTER">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 2">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 3">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 4">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="200.0" stroke="BLACK" strokeType="INSIDE" width="168.0">
|
||||
<HBox.margin>
|
||||
<Insets bottom="30.0" right="50.0" top="30.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Effet de la carte" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Choisissez un joueur à qui infliger 2 blessures" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="110.0" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 5" textAlignment="CENTER">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 6">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 7">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 8">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.text.*?>
|
||||
<?import javafx.scene.shape.*?>
|
||||
<?import java.lang.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<VBox prefHeight="525.0" prefWidth="806.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 1" textAlignment="CENTER">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 2">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 3">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 4">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="200.0" stroke="BLACK" strokeType="INSIDE" width="168.0">
|
||||
<HBox.margin>
|
||||
<Insets bottom="30.0" right="50.0" top="30.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Effet de la carte" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Choisissez un joueur à qui infliger 2 blessures" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="110.0" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 5" textAlignment="CENTER">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 6">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 7">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 8">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
60
src/ihm/ressources/Cartes_tenebres_dynamite.fxml
Normal file
60
src/ihm/ressources/Cartes_tenebres_dynamite.fxml
Normal file
@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.text.*?>
|
||||
<?import javafx.scene.shape.*?>
|
||||
<?import java.lang.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" layoutX="-1.0" layoutY="-7.0" prefHeight="533.0" prefWidth="806.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#c6c6c6" height="298.0" stroke="BLACK" strokeType="INSIDE" width="188.0" />
|
||||
<VBox alignment="CENTER" prefHeight="351.0" prefWidth="293.0">
|
||||
<children>
|
||||
<Label text="Effet de la carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets bottom="50.0" />
|
||||
</VBox.margin>
|
||||
</Label>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="103.0" stroke="BLACK" strokeType="INSIDE" width="107.0">
|
||||
<HBox.margin>
|
||||
<Insets left="50.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
<Polygon fill="WHITE" stroke="BLACK" strokeType="INSIDE">
|
||||
<points>
|
||||
<Double fx:value="-50.0" />
|
||||
<Double fx:value="40.0" />
|
||||
<Double fx:value="50.0" />
|
||||
<Double fx:value="40.0" />
|
||||
<Double fx:value="0.0" />
|
||||
<Double fx:value="-60.0" />
|
||||
</points>
|
||||
<HBox.margin>
|
||||
<Insets left="20.0" />
|
||||
</HBox.margin>
|
||||
</Polygon>
|
||||
</children>
|
||||
</HBox>
|
||||
<Button mnemonicParsing="false" prefHeight="45.0" prefWidth="135.0" text="Lancer les dés">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets top="50.0" />
|
||||
</VBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
121
src/ihm/ressources/Cartes_tenebres_peau_de_banane.fxml
Normal file
121
src/ihm/ressources/Cartes_tenebres_peau_de_banane.fxml
Normal file
@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.text.*?>
|
||||
<?import javafx.scene.shape.*?>
|
||||
<?import java.lang.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<VBox prefHeight="525.0" prefWidth="806.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 1" textAlignment="CENTER">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 2">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 3">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 4">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets top="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="200.0" stroke="BLACK" strokeType="INSIDE" width="168.0">
|
||||
<HBox.margin>
|
||||
<Insets bottom="30.0" left="60.0" right="50.0" top="30.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Effet de la carte" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="30.0" top="50.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Choisissez la carte équipement que vous allez donner" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets bottom="30.0" />
|
||||
</VBox.margin>
|
||||
</Text>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="150.0" stroke="BLACK" strokeType="INSIDE" width="100.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="150.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="100.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="150.0" layoutX="178.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="100.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="150.0" layoutX="346.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="100.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="150.0" layoutX="514.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="100.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<Text layoutX="10.0" layoutY="187.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Choisissez un joueur à qui donner cette carte équipement" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets bottom="30.0" />
|
||||
</VBox.margin>
|
||||
</Text>
|
||||
</children>
|
||||
</VBox>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="110.0" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button alignment="CENTER" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 5" textAlignment="CENTER">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="10.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 6">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="62.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 7">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button alignment="CENTER" layoutX="114.0" layoutY="10.0" mnemonicParsing="false" prefHeight="52.0" prefWidth="112.0" text="Joueur 8">
|
||||
<HBox.margin>
|
||||
<Insets right="30.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
47
src/ihm/ressources/Cartes_tenebres_poupee_demoniaque.fxml
Normal file
47
src/ihm/ressources/Cartes_tenebres_poupee_demoniaque.fxml
Normal file
@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.text.*?>
|
||||
<?import javafx.scene.shape.*?>
|
||||
<?import java.lang.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" layoutX="-1.0" layoutY="-7.0" prefHeight="533.0" prefWidth="806.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#c6c6c6" height="298.0" stroke="BLACK" strokeType="INSIDE" width="188.0" />
|
||||
<VBox alignment="CENTER" prefHeight="351.0" prefWidth="293.0">
|
||||
<children>
|
||||
<Label text="Effet de la carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets bottom="50.0" />
|
||||
</VBox.margin>
|
||||
</Label>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="103.0" stroke="BLACK" strokeType="INSIDE" width="107.0">
|
||||
<HBox.margin>
|
||||
<Insets left="20.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
</children>
|
||||
</HBox>
|
||||
<Button mnemonicParsing="false" prefHeight="45.0" prefWidth="135.0" text="Lancer les dés">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets top="50.0" />
|
||||
</VBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
54
src/ihm/ressources/Cartes_tenebres_riyuel_diabolique.fxml
Normal file
54
src/ihm/ressources/Cartes_tenebres_riyuel_diabolique.fxml
Normal file
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.text.*?>
|
||||
<?import javafx.scene.shape.*?>
|
||||
<?import java.lang.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="525.0" prefWidth="806.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" layoutX="-1.0" layoutY="-7.0" prefHeight="533.0" prefWidth="806.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#c6c6c6" height="298.0" stroke="BLACK" strokeType="INSIDE" width="188.0">
|
||||
<HBox.margin>
|
||||
<Insets left="50.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
<VBox alignment="CENTER" prefHeight="533.0" prefWidth="753.0">
|
||||
<children>
|
||||
<Label text="Effet de la carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
<VBox.margin>
|
||||
<Insets bottom="50.0" />
|
||||
</VBox.margin>
|
||||
</Label>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="338.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" prefHeight="48.0" prefWidth="333.0" text="Se révéler et soigner ses blessures">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="89.0" layoutY="38.0" mnemonicParsing="false" prefHeight="45.0" prefWidth="289.0" text="Ne rien faire">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="10.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets left="10.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
232
src/ihm/ressources/Cartes_tenebres_succube-tentatrice.fxml
Normal file
232
src/ihm/ressources/Cartes_tenebres_succube-tentatrice.fxml
Normal file
@ -0,0 +1,232 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.paint.*?>
|
||||
<?import javafx.geometry.*?>
|
||||
<?import javafx.scene.text.*?>
|
||||
<?import javafx.scene.shape.*?>
|
||||
<?import java.lang.*?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="542.0" prefWidth="1072.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<VBox prefHeight="542.0" prefWidth="1072.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
||||
<HBox.margin>
|
||||
<Insets left="40.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
||||
<HBox.margin>
|
||||
<Insets right="20.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
</children>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
||||
<HBox.margin>
|
||||
<Insets right="20.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
</children>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" layoutX="242.0" layoutY="10.0" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
||||
<HBox.margin>
|
||||
<Insets />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets right="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" layoutX="636.0" layoutY="10.0" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="260.0" prefWidth="1050.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="200.0" stroke="BLACK" strokeType="INSIDE" width="168.0">
|
||||
<HBox.margin>
|
||||
<Insets bottom="30.0" right="50.0" top="30.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="148.0">
|
||||
<children>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Effet de la carte" textAlignment="CENTER">
|
||||
<VBox.margin>
|
||||
<Insets bottom="55.0" />
|
||||
</VBox.margin>
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Text>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Choisissez un équipement à voler" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
||||
<HBox.margin>
|
||||
<Insets left="40.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
||||
<HBox.margin>
|
||||
<Insets right="20.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
</children>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
||||
<HBox.margin>
|
||||
<Insets right="20.0" />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
</children>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" layoutX="242.0" layoutY="10.0" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0">
|
||||
<HBox.margin>
|
||||
<Insets />
|
||||
</HBox.margin>
|
||||
</Rectangle>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets right="20.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" layoutX="636.0" layoutY="10.0" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="10.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="68.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#d8dbdd" height="80.0" layoutX="126.0" layoutY="10.0" stroke="BLACK" strokeType="INSIDE" width="58.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Cartes équipements">
|
||||
<font>
|
||||
<Font size="13.0" />
|
||||
</font>
|
||||
</Text>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets top="80.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
168
src/ihm/ressources/Choix_joueur.fxml
Normal file
168
src/ihm/ressources/Choix_joueur.fxml
Normal file
@ -0,0 +1,168 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.CheckBox?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.TextField?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<bottom>
|
||||
<Button mnemonicParsing="false" text="Commencer la partie" BorderPane.alignment="CENTER">
|
||||
<BorderPane.margin>
|
||||
<Insets bottom="10.0" />
|
||||
</BorderPane.margin></Button>
|
||||
</bottom>
|
||||
<top>
|
||||
<VBox alignment="CENTER" prefHeight="119.0" prefWidth="600.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<Label text="Entrez le nom des joueurs">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label text="(Il faut au moins 4 joueurs)">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label text="Cochez la checkbox pour que le joueur soit un joueur virtuel" />
|
||||
</children>
|
||||
</VBox>
|
||||
</top>
|
||||
<left>
|
||||
<HBox alignment="CENTER_LEFT" prefHeight="256.0" prefWidth="306.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<TextField />
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="257.0" prefWidth="78.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="+" />
|
||||
<Button mnemonicParsing="false" text="+">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
<Button mnemonicParsing="false" text="+">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
<Button mnemonicParsing="false" text="+">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<CheckBox mnemonicParsing="false">
|
||||
<padding>
|
||||
<Insets top="5.0" />
|
||||
</padding></CheckBox>
|
||||
<CheckBox mnemonicParsing="false">
|
||||
<padding>
|
||||
<Insets top="15.0" />
|
||||
</padding></CheckBox>
|
||||
<CheckBox mnemonicParsing="false">
|
||||
<padding>
|
||||
<Insets top="15.0" />
|
||||
</padding></CheckBox>
|
||||
<CheckBox mnemonicParsing="false">
|
||||
<padding>
|
||||
<Insets top="15.0" />
|
||||
</padding></CheckBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
<BorderPane.margin>
|
||||
<Insets left="20.0" />
|
||||
</BorderPane.margin>
|
||||
</HBox>
|
||||
</left>
|
||||
<right>
|
||||
<HBox prefHeight="256.0" prefWidth="332.0" BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox prefHeight="256.0" prefWidth="275.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<TextField />
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
<TextField>
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></TextField>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="+" />
|
||||
<Button mnemonicParsing="false" text="+">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
<Button mnemonicParsing="false" text="+">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
<Button mnemonicParsing="false" text="+">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></Button>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER_LEFT" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<CheckBox mnemonicParsing="false">
|
||||
<VBox.margin>
|
||||
<Insets top="5.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
<CheckBox mnemonicParsing="false">
|
||||
<VBox.margin>
|
||||
<Insets top="15.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
<CheckBox mnemonicParsing="false">
|
||||
<VBox.margin>
|
||||
<Insets top="15.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
<CheckBox mnemonicParsing="false">
|
||||
<VBox.margin>
|
||||
<Insets top="15.0" />
|
||||
</VBox.margin></CheckBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</right>
|
||||
</BorderPane>
|
99
src/ihm/ressources/Jouer_son_tour_donner_vision.fxml
Normal file
99
src/ihm/ressources/Jouer_son_tour_donner_vision.fxml
Normal file
@ -0,0 +1,99 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<VBox prefHeight="400.0" prefWidth="600.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="106.0" prefWidth="600.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 1" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 2" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 3" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 4" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<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="Carte Vision">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="200.0" stroke="BLACK" strokeType="INSIDE" width="112.0" />
|
||||
<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>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label prefHeight="27.0" prefWidth="340.0" text="Choisissez un joueur à qui donner la carte.">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="111.0" prefWidth="600.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 5" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 6" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 7" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 8" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
51
src/ihm/ressources/Jouer_son_tour_piocher_lum_et_ten.fxml
Normal file
51
src/ihm/ressources/Jouer_son_tour_piocher_lum_et_ten.fxml
Normal file
@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<VBox prefHeight="400.0" prefWidth="600.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.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>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="190.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="198.0" stroke="BLACK" strokeType="INSIDE" width="130.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<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>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
46
src/ihm/ressources/Jouer_son_tour_piocher_vision.fxml
Normal file
46
src/ihm/ressources/Jouer_son_tour_piocher_vision.fxml
Normal file
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<VBox prefHeight="400.0" prefWidth="600.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="106.0" text="Carte Vision">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="167.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="198.0" stroke="BLACK" strokeType="INSIDE" width="130.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="91.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="473.0" text="Cette carte ne peut être vu que par le joueur qui la pioche.">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="69.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Voir carte" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
36
src/ihm/ressources/Jouer_son_tour_recevoir_blessure.fxml
Normal file
36
src/ihm/ressources/Jouer_son_tour_recevoir_blessure.fxml
Normal file
@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?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" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" layoutY="1.0" prefHeight="400.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="87.0" text="*Joueur x*" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="52.0" text="reçoit" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="31.0" text="*n*" textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="82.0" text="Blessures." textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
20
src/ihm/ressources/Jouer_son_tour_vision_inefficace.fxml
Normal file
20
src/ihm/ressources/Jouer_son_tour_vision_inefficace.fxml
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?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" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" layoutY="1.0" prefHeight="400.0" prefWidth="600.0">
|
||||
<children>
|
||||
<Label contentDisplay="CENTER" prefHeight="27.0" prefWidth="149.0" text="Il ne se passe rien." textAlignment="CENTER">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" onMouseClicked="#afficheBonjour" prefHeight="400.0" prefWidth="600.0" styleClass="background" stylesheets="@style/menu.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.MenuController">
|
||||
<children>
|
||||
<Button layoutX="231.0" layoutY="161.0" mnemonicParsing="false" onMouseClicked="#changerNom" prefHeight="39.0" prefWidth="139.0" styleClass="bouton" stylesheets="@style/menu.css" text="Jouer">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Button layoutX="230.0" layoutY="244.0" mnemonicParsing="false" styleClass="bouton" stylesheets="@style/menu.css" text="Règles du jeux">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Button>
|
||||
<Label layoutX="170.0" layoutY="61.0" styleClass="titre" stylesheets="@style/menu.css" text="Shadow Hunters">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
||||
|
@ -0,0 +1,529 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Circle?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="590.0" prefWidth="919.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<VBox prefHeight="583.0" prefWidth="920.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="146.0" prefWidth="892.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="146.0" prefWidth="244.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="22.0" prefWidth="223.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="78.0" rotate="180.0" text="Se r<>v<EFBFBD>ler" />
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="112.0" rotate="180.0" text="Carte personnage">
|
||||
<HBox.margin>
|
||||
<Insets left="20.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Faction" textAlignment="JUSTIFY" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Personnage" textAlignment="CENTER" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Joueur" textAlignment="JUSTIFY" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="146.0" prefWidth="244.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="22.0" prefWidth="223.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="82.0" rotate="180.0" text="Se r<>v<EFBFBD>ler" />
|
||||
<Button mnemonicParsing="false" prefHeight="26.0" prefWidth="120.0" rotate="180.0" text="Carte personnage">
|
||||
<HBox.margin>
|
||||
<Insets left="20.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Faction" textAlignment="JUSTIFY" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Personnage" textAlignment="CENTER" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Joueur" textAlignment="JUSTIFY" />
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets bottom="5.0" top="5.0" />
|
||||
</HBox.margin>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="146.0" prefWidth="244.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="22.0" prefWidth="223.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="79.0" rotate="180.0" text="Se r<>v<EFBFBD>ler" />
|
||||
<Button mnemonicParsing="false" prefHeight="26.0" prefWidth="120.0" rotate="180.0" text="Carte personnage">
|
||||
<HBox.margin>
|
||||
<Insets left="20.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Faction" textAlignment="JUSTIFY" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Personnage" textAlignment="CENTER" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Joueur" textAlignment="JUSTIFY" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="146.0" prefWidth="244.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="22.0" prefWidth="223.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="87.0" rotate="180.0" text="Se r<>v<EFBFBD>ler" />
|
||||
<Button mnemonicParsing="false" prefHeight="26.0" prefWidth="120.0" rotate="180.0" text="Carte personnage">
|
||||
<HBox.margin>
|
||||
<Insets left="20.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Faction" textAlignment="JUSTIFY" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Personnage" textAlignment="CENTER" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Joueur" textAlignment="JUSTIFY" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="5.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="279.0" prefWidth="921.0">
|
||||
<children>
|
||||
<VBox alignment="TOP_CENTER" prefHeight="279.0" prefWidth="88.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="63.0" stroke="BLACK" strokeType="INSIDE" width="50.0">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
</Rectangle>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="63.0" stroke="BLACK" strokeType="INSIDE" width="50.0">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
</Rectangle>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="63.0" stroke="BLACK" strokeType="INSIDE" width="50.0">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
</Rectangle>
|
||||
</children>
|
||||
</VBox>
|
||||
<HBox prefHeight="279.0" prefWidth="795.0">
|
||||
<children>
|
||||
<VBox prefHeight="279.0" prefWidth="771.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="199.0" prefWidth="734.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="136.0" prefWidth="17.0">
|
||||
<children>
|
||||
<Circle fill="DODGERBLUE" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="DODGERBLUE" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="DODGERBLUE" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="DODGERBLUE" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
</children>
|
||||
</VBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="100.0" stroke="BLACK" strokeType="INSIDE" width="70.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="100.0" stroke="BLACK" strokeType="INSIDE" width="70.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="100.0" stroke="BLACK" strokeType="INSIDE" width="70.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="100.0" stroke="BLACK" strokeType="INSIDE" width="70.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="100.0" stroke="BLACK" strokeType="INSIDE" width="70.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="100.0" stroke="BLACK" strokeType="INSIDE" width="70.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<VBox alignment="CENTER" prefHeight="136.0" prefWidth="19.0">
|
||||
<children>
|
||||
<Circle fill="DODGERBLUE" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="DODGERBLUE" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="DODGERBLUE" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="DODGERBLUE" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<VBox prefHeight="143.0" prefWidth="775.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER_RIGHT" prefHeight="43.0" prefWidth="733.0">
|
||||
<children>
|
||||
<Label text="Allie">
|
||||
<HBox.margin>
|
||||
<Insets right="65.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<VBox alignment="CENTER" prefHeight="34.0" prefWidth="44.0">
|
||||
<children>
|
||||
<Label text="Bob" />
|
||||
<Label text="Emi" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="34.0" prefWidth="55.0">
|
||||
<children>
|
||||
<Label text="Inconnu" />
|
||||
<Label text="Charles" />
|
||||
</children>
|
||||
</VBox>
|
||||
<Label text="Franklin" />
|
||||
<VBox alignment="CENTER" prefHeight="34.0" prefWidth="56.0">
|
||||
<children>
|
||||
<Label text="Vampire" />
|
||||
<Label text="Daniel" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="34.0" prefWidth="69.0">
|
||||
<children>
|
||||
<Label text="Loup-garou" />
|
||||
<Label text="George" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="54.0" prefWidth="733.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="75.0" stroke="BLACK" strokeType="INSIDE" width="50.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="7.0" prefWidth="733.0">
|
||||
<children>
|
||||
<VBox prefHeight="34.0" prefWidth="44.0">
|
||||
<children>
|
||||
<Label text="Pas de" />
|
||||
<Label text="dégats" />
|
||||
</children>
|
||||
</VBox>
|
||||
<Label text="1">
|
||||
<HBox.margin>
|
||||
<Insets left="25.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="2">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="3">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="4">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="5">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="6">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="7">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="8">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="9">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="10">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="11">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="12">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="13">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
<Label text="14">
|
||||
<HBox.margin>
|
||||
<Insets left="42.0" />
|
||||
</HBox.margin>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<VBox alignment="TOP_CENTER" prefHeight="279.0" prefWidth="95.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="63.0" stroke="BLACK" strokeType="INSIDE" width="50.0">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
</Rectangle>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="63.0" stroke="BLACK" strokeType="INSIDE" width="50.0">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
</Rectangle>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="63.0" stroke="BLACK" strokeType="INSIDE" width="50.0">
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
</Rectangle>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="146.0" prefWidth="892.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="146.0" prefWidth="244.0" rotate="180.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="22.0" prefWidth="223.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="79.0" rotate="180.0" text="Se r<>v<EFBFBD>ler" />
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="112.0" rotate="180.0" text="Carte personnage">
|
||||
<HBox.margin>
|
||||
<Insets left="20.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="5.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Faction" textAlignment="JUSTIFY" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Personnage" textAlignment="CENTER" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Joueur" textAlignment="JUSTIFY" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="146.0" prefWidth="244.0" rotate="180.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="22.0" prefWidth="223.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="79.0" rotate="180.0" text="Se r<>v<EFBFBD>ler" />
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="113.0" rotate="180.0" text="Carte personnage">
|
||||
<HBox.margin>
|
||||
<Insets left="20.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="5.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Faction" textAlignment="JUSTIFY" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Personnage" textAlignment="CENTER" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Joueur" textAlignment="JUSTIFY" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="146.0" prefWidth="244.0" rotate="180.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="22.0" prefWidth="223.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="83.0" rotate="180.0" text="Se r<>v<EFBFBD>ler" />
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="120.0" rotate="180.0" text="Carte personnage">
|
||||
<HBox.margin>
|
||||
<Insets left="20.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Faction" textAlignment="JUSTIFY" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Personnage" textAlignment="CENTER" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Joueur" textAlignment="JUSTIFY" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="5.0" />
|
||||
</padding>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefHeight="146.0" prefWidth="244.0" rotate="180.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
|
||||
<children>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="57.0" stroke="BLACK" strokeType="INSIDE" width="37.0" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="5.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="22.0" prefWidth="223.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="80.0" rotate="180.0" text="Se r<>v<EFBFBD>ler" />
|
||||
<Button mnemonicParsing="false" prefHeight="25.0" prefWidth="112.0" rotate="180.0" text="Carte personnage">
|
||||
<HBox.margin>
|
||||
<Insets left="20.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets />
|
||||
</VBox.margin>
|
||||
<padding>
|
||||
<Insets bottom="5.0" />
|
||||
</padding>
|
||||
</HBox>
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Faction" textAlignment="JUSTIFY" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Personnage" textAlignment="CENTER" />
|
||||
<Label prefHeight="28.0" prefWidth="126.0" rotate="-180.0" text="Nom Joueur" textAlignment="JUSTIFY" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets top="8.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
||||
|
64
src/ihm/ressources/Reveler_son_identite.fxml
Normal file
64
src/ihm/ressources/Reveler_son_identite.fxml
Normal file
@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Pane layoutX="33.0" layoutY="41.0" prefHeight="325.0" prefWidth="561.0" style="-fx-border-color: blue;">
|
||||
<children>
|
||||
<VBox alignment="CENTER" layoutX="199.0" layoutY="101.0" prefHeight="151.0" prefWidth="333.0" spacing="5.0" style="-fx-background-color: blue;">
|
||||
<children>
|
||||
<HBox prefHeight="36.0" prefWidth="334.0">
|
||||
<children>
|
||||
<Label prefHeight="35.0" prefWidth="75.0" text="Joueur x " textFill="WHITE">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="34.0" prefWidth="154.0" text="révèle son identité!" textFill="WHITE">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="36.0" prefWidth="334.0">
|
||||
<children>
|
||||
<Label prefHeight="35.0" prefWidth="55.0" text="C'est" textFill="WHITE">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="34.0" prefWidth="182.0" text="*nom de personnage*" textFill="WHITE">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="36.0" prefWidth="334.0">
|
||||
<children>
|
||||
<Label prefHeight="35.0" prefWidth="75.0" text="Faction : " textFill="WHITE">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="34.0" prefWidth="233.0" text="*insérer le nom de la faction*" textFill="WHITE">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="205.0" layoutX="35.0" layoutY="60.0" stroke="BLACK" strokeType="INSIDE" width="130.0" />
|
||||
</children>
|
||||
</Pane>
|
||||
</children>
|
||||
</Pane>
|
52
src/ihm/ressources/Utiliser_sa_capacite.fxml
Normal file
52
src/ihm/ressources/Utiliser_sa_capacite.fxml
Normal file
@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label layoutX="170.0" layoutY="61.0">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="105.0" layoutX="239.0" layoutY="118.0" stroke="BLACK" strokeType="INSIDE" width="331.0" />
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="248.0" layoutX="45.0" layoutY="61.0" stroke="BLACK" strokeType="INSIDE" width="172.0" />
|
||||
<VBox layoutX="239.0" layoutY="118.0" prefHeight="105.0" prefWidth="331.0">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="59.0" prefWidth="331.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="76.0" text="Joueur X">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label text="utilise sa capacité.">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" prefHeight="54.0" prefWidth="331.0">
|
||||
<children>
|
||||
<Label prefHeight="27.0" prefWidth="76.0" text="Effet :">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label prefHeight="27.0" prefWidth="118.0" text="*inserrer effet*">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</Pane>
|
34
src/ihm/ressources/jouerSonTour1.fxml
Normal file
34
src/ihm/ressources/jouerSonTour1.fxml
Normal file
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.shape.Polygon?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="589.0" prefWidth="881.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label layoutX="265.0" layoutY="29.0" text="C'est au tour du ">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="200.0" layoutX="221.0" layoutY="135.0" stroke="BLACK" strokeType="INSIDE" width="200.0" />
|
||||
<Polygon fill="DODGERBLUE" layoutX="551.0" layoutY="216.0" points="-75.79998779296875, 98.80001831054688, 97.0, 98.80001831054688, 8.20001220703125, -59.199981689453125" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Button layoutX="401.0" layoutY="394.0" mnemonicParsing="false" text="Lancer les dés" />
|
||||
<Label layoutX="275.0" layoutY="222.0" text="Score dés 1">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font></Label>
|
||||
<Label layoutX="516.0" layoutY="249.0" text="Score dés 2">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font></Label>
|
||||
<Label layoutX="535.0" layoutY="29.0" text="joueur 1">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
22
src/ihm/ressources/jouerSonTour2.fxml
Normal file
22
src/ihm/ressources/jouerSonTour2.fxml
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="534.0" prefWidth="714.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label layoutX="355.0" layoutY="172.0" text="Description capacité de la carte lieux ">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="268.0" layoutX="96.0" layoutY="147.0" stroke="BLACK" strokeType="INSIDE" width="200.0" />
|
||||
<Button layoutX="348.0" layoutY="242.0" mnemonicParsing="false" text="Utiliser la capacité du lieux" />
|
||||
<Button layoutX="542.0" layoutY="242.0" mnemonicParsing="false" text="Sauter cette étape" />
|
||||
<Label layoutX="168.0" layoutY="273.0" text="Carte lieux" />
|
||||
</children>
|
||||
</Pane>
|
35
src/ihm/ressources/jouerSonTour3.fxml
Normal file
35
src/ihm/ressources/jouerSonTour3.fxml
Normal file
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?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="451.0" prefWidth="654.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="661.0" spacing="60.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 1" />
|
||||
<Button mnemonicParsing="false" text="Joueur 2" />
|
||||
<Button mnemonicParsing="false" text="Joueur 3" />
|
||||
<Button mnemonicParsing="false" text="Joueur 4" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label layoutX="196.0" layoutY="158.0" text="Attaquer un autre joueur !">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="277.0" layoutY="213.0" mnemonicParsing="false" text="Ne pas attaquer" />
|
||||
<HBox alignment="CENTER" layoutY="337.0" prefHeight="100.0" prefWidth="661.0" spacing="60.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 5" />
|
||||
<Button mnemonicParsing="false" text="Joueur 6" />
|
||||
<Button mnemonicParsing="false" text="Joueur 7" />
|
||||
<Button mnemonicParsing="false" text="Joueur 8" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
39
src/ihm/ressources/jouerSonTour4.fxml
Normal file
39
src/ihm/ressources/jouerSonTour4.fxml
Normal file
@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.shape.Polygon?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="589.0" prefWidth="881.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<Label layoutX="401.0" layoutY="29.0" text="attaque">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="DODGERBLUE" height="200.0" layoutX="221.0" layoutY="135.0" stroke="BLACK" strokeType="INSIDE" width="200.0" />
|
||||
<Polygon fill="DODGERBLUE" layoutX="551.0" layoutY="216.0" points="-75.79998779296875, 98.80001831054688, 97.0, 98.80001831054688, 8.20001220703125, -59.199981689453125" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Button layoutX="401.0" layoutY="394.0" mnemonicParsing="false" text="Lancer les dés" />
|
||||
<Label layoutX="275.0" layoutY="222.0" text="Score dés 1">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font></Label>
|
||||
<Label layoutX="516.0" layoutY="249.0" text="Score dés 2">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font></Label>
|
||||
<Label layoutX="535.0" layoutY="29.0" text="joueur 2">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label layoutX="253.0" layoutY="29.0" text="Joueur 1">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
30
src/ihm/ressources/jouerSonTour6.fxml
Normal file
30
src/ihm/ressources/jouerSonTour6.fxml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<Pane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="419.0" prefWidth="614.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" layoutX="97.0" layoutY="49.0" prefHeight="340.0" prefWidth="489.0" spacing="60.0">
|
||||
<children>
|
||||
<Label text="Piocher une carte">
|
||||
<font>
|
||||
<Font size="18.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0" spacing="60.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Carte vision" />
|
||||
<Button mnemonicParsing="false" text="Carte ténébre" />
|
||||
<Button mnemonicParsing="false" text="Carte lumière" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
35
src/ihm/ressources/jouerSonTour7.fxml
Normal file
35
src/ihm/ressources/jouerSonTour7.fxml
Normal file
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?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="451.0" prefWidth="654.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<children>
|
||||
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="661.0" spacing="60.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 1" />
|
||||
<Button mnemonicParsing="false" text="Joueur 2" />
|
||||
<Button mnemonicParsing="false" text="Joueur 3" />
|
||||
<Button mnemonicParsing="false" text="Joueur 4" />
|
||||
</children>
|
||||
</HBox>
|
||||
<Label layoutX="85.0" layoutY="163.0" text="Attaquer un joueur ou se soigner de 2 blessures">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="277.0" layoutY="213.0" mnemonicParsing="false" text="Ne pas attaquer" />
|
||||
<HBox alignment="CENTER" layoutY="337.0" prefHeight="100.0" prefWidth="661.0" spacing="60.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 5" />
|
||||
<Button mnemonicParsing="false" text="Joueur 6" />
|
||||
<Button mnemonicParsing="false" text="Joueur 7" />
|
||||
<Button mnemonicParsing="false" text="Joueur 8" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
16
src/ihm/ressources/style/menu.css
Normal file
16
src/ihm/ressources/style/menu.css
Normal file
@ -0,0 +1,16 @@
|
||||
.background {
|
||||
-fx-background-color: #1d1d1d;
|
||||
}
|
||||
|
||||
.titre {
|
||||
-fx-text-fill: white;
|
||||
}
|
||||
|
||||
.bouton {
|
||||
-fx-border-color: #e2e2e2;
|
||||
-fx-border-width: 2;
|
||||
-fx-background-radius: 0;
|
||||
-fx-background-color: #1d1d1d;
|
||||
-fx-text-fill: #d8d8d8;
|
||||
-fx-background-insets: 0 0 0 0, 0, 1, 2;
|
||||
}
|
16
src/main/CarteLieu.java
Normal file
16
src/main/CarteLieu.java
Normal file
@ -0,0 +1,16 @@
|
||||
package main;
|
||||
import java.util.List;
|
||||
|
||||
public class CarteLieu {
|
||||
|
||||
public List<Joueur> getJoueursAdjacents() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
public List<Joueur> getJoueurs() {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
151
src/main/ControleurIA.java
Normal file
151
src/main/ControleurIA.java
Normal file
@ -0,0 +1,151 @@
|
||||
package main;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class ControleurIA {
|
||||
|
||||
public static boolean choixUtiliserPouvoirLieu() {
|
||||
double res = getRandomPercentage();
|
||||
if (res < 80)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// precondition 1 : la liste joueursLieu ne contiendra pas jIA lui-meme
|
||||
// precondition 2 : on n'appellera pas cette methode si jIA est seul sur le lieu
|
||||
public static boolean choixSiAttaquer(JoueurVirtuel jIA, List<Joueur> joueursLieu) {
|
||||
double res = getRandomPercentage();
|
||||
if (getEnnemisJoueurs(jIA, joueursLieu).size() > 0) {
|
||||
int diff = jIA.getDifficulte();
|
||||
switch (diff) {
|
||||
case 1:
|
||||
if (res < 25)
|
||||
return true;
|
||||
break;
|
||||
case 2:
|
||||
if (res < 50)
|
||||
return true;
|
||||
break;
|
||||
case 3:
|
||||
if (res < 75)
|
||||
return true;
|
||||
break;
|
||||
default:
|
||||
}
|
||||
} else if (res < 10)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
public static double getRandomPercentage() {
|
||||
return Math.floor(Math.random() * 100);
|
||||
}
|
||||
|
||||
public static List<Joueur> getEnnemisJoueurs(JoueurVirtuel jIA, List<Joueur> joueursLieu) {
|
||||
List<Joueur> res = new ArrayList<>();
|
||||
String equipejIA = jIA.getEquipe();
|
||||
if (equipejIA.equals("NEUTRE"))
|
||||
res = joueursLieu;
|
||||
else {
|
||||
for (Joueur j : joueursLieu) {
|
||||
if (!equipejIA.equals(j.getEquipe()))
|
||||
res.add(j);
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
// loup-garou : si attaquee par joueur pas du meme camps 60%? devoilement
|
||||
public static boolean devoilerIALoupGarou(JoueurVirtuel jIA, Joueur jAttaquant) {
|
||||
String equipejIA = jIA.getEquipe();
|
||||
double rand = getRandomPercentage();
|
||||
if (!equipejIA.equals(jAttaquant.getEquipe())) {
|
||||
if (rand < 60)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// metamorphe : si re<72>oit carte vision 50%? mentir sans se devoiler
|
||||
public static boolean mentirIAMetamorphe(JoueurVirtuel jIA) {
|
||||
if (getRandomPercentage() < 50)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// vampire : si attaque joueur et propre vie<10?hp 60%? (plus vie baisse, plus
|
||||
// proba augmente) devoilement
|
||||
public static boolean devoilerIAVampire(JoueurVirtuel jIA, Joueur jAttaquee) {
|
||||
String equipejIA = jIA.getEquipe();
|
||||
double rand = getRandomPercentage();
|
||||
if (!equipejIA.equals(jAttaquee.getEquipe())) {
|
||||
if (rand < 940 / 9 - (40 * jIA.getHP()))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// emi : si pas de shadow sur lieu actuel mais un sur lieu adjacent 60%?
|
||||
// devoilement
|
||||
public static boolean devoilerIAEmi(JoueurVirtuel jIA, CarteLieu cl) {
|
||||
List<Joueur> joueursProx = cl.getJoueurs();
|
||||
if (getEnnemisJoueurs(jIA, joueursProx).size() > 0)
|
||||
return false;
|
||||
List<Joueur> joueursAdj = cl.getJoueursAdjacents();
|
||||
if (getEnnemisJoueurs(jIA, joueursAdj).size() > 0)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// georges: si vie d'un shadow <=4hp 90%? devoilement avant de commencer le tour
|
||||
public static boolean devoilerIAGeorges(JoueurVirtuel jIA, List<Joueur> jPlateau) {
|
||||
List<Joueur> jEnnemis = getEnnemisJoueurs(jIA, jPlateau);
|
||||
boolean devoiler = false;
|
||||
double rand = getRandomPercentage();
|
||||
for (Joueur j : jEnnemis) {
|
||||
if (j.getHP() <= 4)
|
||||
devoiler = true;
|
||||
}
|
||||
if (devoiler && rand < 90)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// franklin: si vie d'un shadow <=6hp 90%? devoilement avant de commencer le
|
||||
// tour
|
||||
public static boolean devoilerIAFranklin(JoueurVirtuel jIA, List<Joueur> jPlateau) {
|
||||
List<Joueur> jEnnemis = getEnnemisJoueurs(jIA, jPlateau);
|
||||
boolean devoiler = false;
|
||||
double rand = getRandomPercentage();
|
||||
for (Joueur j : jEnnemis) {
|
||||
if (j.getHP() <= 6)
|
||||
devoiler = true;
|
||||
}
|
||||
if (devoiler && rand < 90)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// allie : si vie<5?hp (plus vie baisse, plus proba augmente) 60%? devoilement
|
||||
public static boolean devoilerIAAllie(JoueurVirtuel jIA) {
|
||||
if (getRandomPercentage() < 110 - 10 * jIA.getHP())
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// bob : si attaque joueur possedant equipement 70?% devoilement
|
||||
public static boolean devoilerIABob(JoueurVirtuel jIA, Joueur jAttaquee) {
|
||||
if (jAttaquee.getNbEquipments() > 0 && getRandomPercentage() < 70)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
// charles : si attaque joueur possedant moins de vie que attaque de charles
|
||||
// 85?% devoilement
|
||||
public static boolean devoilerIACharles(JoueurVirtuel jIA, Joueur jAttaquee) {
|
||||
if (jAttaquee.getHP() <= jIA.getDamage() && jIA.getHP() >= 2 && getRandomPercentage() <= 85)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
5
src/main/Effet.java
Normal file
5
src/main/Effet.java
Normal file
@ -0,0 +1,5 @@
|
||||
package main;
|
||||
|
||||
public class Effet {
|
||||
|
||||
}
|
5
src/main/Equipement.java
Normal file
5
src/main/Equipement.java
Normal file
@ -0,0 +1,5 @@
|
||||
package main;
|
||||
|
||||
public class Equipement {
|
||||
|
||||
}
|
12
src/main/GestionnaireEquipements.java
Normal file
12
src/main/GestionnaireEquipements.java
Normal file
@ -0,0 +1,12 @@
|
||||
package main;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class GestionnaireEquipements {
|
||||
private Map<String, Integer> stats = new HashMap<>();
|
||||
|
||||
public int getNbEquipments() {
|
||||
return stats.size();
|
||||
}
|
||||
}
|
26
src/main/Joueur.java
Normal file
26
src/main/Joueur.java
Normal file
@ -0,0 +1,26 @@
|
||||
package main;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class Joueur {
|
||||
private Map<String, Integer> stats = new HashMap<>();
|
||||
private GestionnaireEquipements gestionnaireEquipements;
|
||||
|
||||
//shadows, hunters ou neutre
|
||||
public String getEquipe() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public int getHP() {
|
||||
return stats.get("HP");
|
||||
}
|
||||
|
||||
public int getDamage() {
|
||||
return stats.get("DAMAGE");
|
||||
}
|
||||
|
||||
public int getNbEquipments() {
|
||||
return gestionnaireEquipements.getNbEquipments();
|
||||
}
|
||||
|
||||
}
|
26
src/main/JoueurVirtuel.java
Normal file
26
src/main/JoueurVirtuel.java
Normal file
@ -0,0 +1,26 @@
|
||||
package main;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public class JoueurVirtuel extends Joueur {
|
||||
|
||||
private int nvDifficulte = 1; //possibilite de 1, 2 ou 3
|
||||
|
||||
public JoueurVirtuel ( ) {}
|
||||
|
||||
public Effet choisirEffet(List<Effet> effets) {
|
||||
return effets.get((int)Math.floor(Math.random() * effets.size()));
|
||||
}
|
||||
|
||||
public Equipement choisirEquipement(List<Equipement> equips) {
|
||||
return equips.get((int)Math.floor(Math.random() * equips.size()));
|
||||
}
|
||||
|
||||
public Joueur choisirJoueur(List<Joueur> joueurs) {
|
||||
return joueurs.get((int)Math.floor(Math.random() * joueurs.size()));
|
||||
}
|
||||
|
||||
public int getDifficulte() {
|
||||
return nvDifficulte;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user