Lancer de dés, nouvelle disposition IHM etc...
11
src/ihm/ressources/Dialog.fxml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
|
||||
|
||||
<ImageView fitHeight="202.0" fitWidth="173.0" preserveRatio="true" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<image>
|
||||
<Image url="@img/dé.png" />
|
||||
</image>
|
||||
</ImageView>
|
11
src/ihm/ressources/Dés.fxml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
|
||||
|
||||
<ImageView fitHeight="189.0" fitWidth="379.0" preserveRatio="true" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<image>
|
||||
<Image url="@img/dice.sprite.png" />
|
||||
</image>
|
||||
</ImageView>
|
523
src/ihm/ressources/PlateauTestPaul.fxml
Normal file
@@ -0,0 +1,523 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import java.lang.String?>
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.control.ScrollPane?>
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.BorderPane?>
|
||||
<?import javafx.scene.layout.ColumnConstraints?>
|
||||
<?import javafx.scene.layout.GridPane?>
|
||||
<?import javafx.scene.layout.HBox?>
|
||||
<?import javafx.scene.layout.RowConstraints?>
|
||||
<?import javafx.scene.layout.VBox?>
|
||||
<?import javafx.scene.shape.Circle?>
|
||||
|
||||
<AnchorPane prefHeight="992.0" prefWidth="1822.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.PlateauControllerTest">
|
||||
<children>
|
||||
<BorderPane fx:id="root" prefHeight="1359.0" prefWidth="1610.0" styleClass="background" stylesheets="@style/plateau.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<top>
|
||||
<HBox alignment="CENTER" spacing="30.0">
|
||||
<children>
|
||||
<AnchorPane>
|
||||
<children>
|
||||
<HBox AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<children>
|
||||
<AnchorPane fx:id="anchorPane6" prefHeight="150.0" prefWidth="150.0" />
|
||||
<ImageView fitHeight="150.0" fitWidth="200.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ScrollPane hbarPolicy="NEVER" prefHeight="200.0" prefWidth="200.0" vbarPolicy="NEVER">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="148.0" prefWidth="200.0" />
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane>
|
||||
<children>
|
||||
<HBox AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<children>
|
||||
<ScrollPane hbarPolicy="NEVER" prefHeight="200.0" prefWidth="200.0" vbarPolicy="NEVER">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="148.0" prefWidth="200.0" />
|
||||
</content>
|
||||
</ScrollPane>
|
||||
<ImageView fitHeight="150.0" fitWidth="106.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<AnchorPane fx:id="anchorPane5" prefHeight="150.0" prefWidth="150.0" HBox.hgrow="ALWAYS" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</children>
|
||||
</HBox>
|
||||
</top>
|
||||
<bottom>
|
||||
<HBox alignment="CENTER" spacing="10.0">
|
||||
<children>
|
||||
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
|
||||
<HBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</HBox.margin>
|
||||
<children>
|
||||
<HBox alignment="CENTER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" spacing="10.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<children>
|
||||
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
|
||||
<children>
|
||||
<AnchorPane fx:id="anchorPane1" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
|
||||
<children>
|
||||
<ImageView fitHeight="150.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
|
||||
<children>
|
||||
<ScrollPane hbarPolicy="NEVER" layoutY="-85.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" vbarPolicy="NEVER" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<content>
|
||||
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" />
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
|
||||
<HBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</HBox.margin>
|
||||
<children>
|
||||
<HBox alignment="CENTER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" spacing="10.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<children>
|
||||
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
|
||||
<children>
|
||||
<ScrollPane hbarPolicy="NEVER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" vbarPolicy="NEVER" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<content>
|
||||
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" />
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
|
||||
<children>
|
||||
<ImageView fitHeight="150.0" fitWidth="139.0" pickOnBounds="true" preserveRatio="true" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnage.jpg" />
|
||||
</image>
|
||||
</ImageView>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308">
|
||||
<children>
|
||||
<AnchorPane fx:id="anchorPane2" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</children>
|
||||
</HBox>
|
||||
</bottom>
|
||||
<left>
|
||||
<GridPane>
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints maxHeight="465.0" minHeight="10.0" prefHeight="341.5" vgrow="SOMETIMES" />
|
||||
<RowConstraints maxHeight="341.0" minHeight="10.0" prefHeight="341.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<GridPane>
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<AnchorPane fx:id="anchorPane7" />
|
||||
<ImageView fitHeight="115.0" fitWidth="150.0" pickOnBounds="true" preserveRatio="true" GridPane.rowIndex="1">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnageRot.jpg" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ScrollPane hbarPolicy="NEVER" vbarPolicy="NEVER" GridPane.rowIndex="2">
|
||||
<content>
|
||||
<AnchorPane />
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</children>
|
||||
</GridPane>
|
||||
<GridPane GridPane.rowIndex="1">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<ScrollPane hbarPolicy="NEVER" vbarPolicy="NEVER">
|
||||
<content>
|
||||
<AnchorPane />
|
||||
</content>
|
||||
</ScrollPane>
|
||||
<ImageView fitHeight="150.0" fitWidth="150.0" pickOnBounds="true" preserveRatio="true" GridPane.rowIndex="1">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnageRot.jpg" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<AnchorPane fx:id="anchorPane8" GridPane.rowIndex="2" />
|
||||
</children>
|
||||
</GridPane>
|
||||
</children>
|
||||
</GridPane>
|
||||
</left>
|
||||
<right>
|
||||
<VBox alignment="CENTER" spacing="10.0">
|
||||
<children>
|
||||
<AnchorPane>
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<children>
|
||||
<VBox alignment="CENTER" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<children>
|
||||
<AnchorPane fx:id="anchorPane4" prefHeight="150.0" prefWidth="150.0" VBox.vgrow="ALWAYS" />
|
||||
<ImageView fitHeight="150.0" fitWidth="150.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnageRot.jpg" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<ScrollPane hbarPolicy="NEVER" prefHeight="200.0" prefWidth="200.0" vbarPolicy="NEVER">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="200.0" prefWidth="200.0" />
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
<AnchorPane>
|
||||
<VBox.margin>
|
||||
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
||||
</VBox.margin>
|
||||
<children>
|
||||
<VBox alignment="CENTER" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
||||
<children>
|
||||
<ScrollPane hbarPolicy="NEVER" prefHeight="200.0" prefWidth="200.0" vbarPolicy="NEVER">
|
||||
<content>
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="200.0" prefWidth="200.0" />
|
||||
</content>
|
||||
</ScrollPane>
|
||||
<ImageView fitHeight="154.0" fitWidth="150.0" pickOnBounds="true" preserveRatio="true">
|
||||
<image>
|
||||
<Image url="@img/dosCartesPersonnageRot.jpg" />
|
||||
</image>
|
||||
</ImageView>
|
||||
<AnchorPane fx:id="anchorPane3" prefHeight="150.0" prefWidth="150.0" VBox.vgrow="ALWAYS" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</children>
|
||||
</VBox>
|
||||
</right>
|
||||
<center>
|
||||
<HBox alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" spacing="10.0">
|
||||
<children>
|
||||
<VBox alignment="CENTER_LEFT" prefWidth="22.0" HBox.hgrow="NEVER">
|
||||
<children>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0" styleClass="carteLumiere" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true" styleClass="background" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0" styleClass="carteVision" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
<VBox.margin>
|
||||
<Insets bottom="30.0" top="30.0" />
|
||||
</VBox.margin>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="200.0" styleClass="carteTenebre" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="97.8" fitWidth="70.05" pickOnBounds="true" preserveRatio="true" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER" prefWidth="732.0" HBox.hgrow="NEVER">
|
||||
<children>
|
||||
<HBox alignment="TOP_CENTER">
|
||||
<children>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Circle fill="#ff1f1f" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ffd71f" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ecff1f" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#64ff1f" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
</children>
|
||||
</VBox>
|
||||
<HBox alignment="TOP_CENTER" styleClass="lieux" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true">
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
</ImageView>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="10.0" />
|
||||
</HBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="BOTTOM_CENTER" styleClass="lieux" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true">
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
</ImageView>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
</HBox>
|
||||
<HBox alignment="TOP_CENTER" styleClass="lieux" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true" />
|
||||
<ImageView fitHeight="132.03" fitWidth="94.5675" pickOnBounds="true" preserveRatio="true">
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" />
|
||||
</HBox.margin>
|
||||
</ImageView>
|
||||
</children>
|
||||
<HBox.margin>
|
||||
<Insets left="5.0" right="10.0" />
|
||||
</HBox.margin>
|
||||
</HBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Circle fill="#21ffee" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#2168ff" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#d921ff" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ff21ad" radius="10.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<VBox alignment="BOTTOM_CENTER">
|
||||
<children>
|
||||
<HBox alignment="CENTER_RIGHT">
|
||||
<children>
|
||||
<Label alignment="CENTER" contentDisplay="CENTER" styleClass="text" stylesheets="@style/plateau.css" text="Allie" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Bob" />
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Emi" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Inconnu" />
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Charles" />
|
||||
</children>
|
||||
</VBox>
|
||||
<Label alignment="CENTER" contentDisplay="CENTER" styleClass="text" stylesheets="@style/plateau.css" text="Franklin" />
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Vampire" />
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Daniel" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox alignment="CENTER">
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Loup-" />
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="garou" />
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="George" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox>
|
||||
<children>
|
||||
<HBox prefHeight="100.0" prefWidth="0.0" />
|
||||
<HBox alignment="CENTER" prefHeight="64.0" prefWidth="50.0" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="87.0" prefWidth="2.0">
|
||||
<children>
|
||||
<Circle fill="#ff1f1f" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ffd71f" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ecff1f" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#64ff1f" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
</children>
|
||||
</VBox>
|
||||
<VBox prefHeight="87.0" prefWidth="4.0">
|
||||
<children>
|
||||
<Circle fill="#21ffee" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#2168ff" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#d921ff" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
<Circle fill="#ff21ad" radius="8.0" stroke="BLACK" strokeType="INSIDE" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
<styleClass>
|
||||
<String fx:value="barreDeVie" />
|
||||
<String fx:value="zero" />
|
||||
</styleClass>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
<styleClass>
|
||||
<String fx:value="barreDeVie" />
|
||||
<String fx:value="un" />
|
||||
</styleClass>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
<styleClass>
|
||||
<String fx:value="barreDeVie" />
|
||||
<String fx:value="deux" />
|
||||
</styleClass>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
<styleClass>
|
||||
<String fx:value="barreDeVie" />
|
||||
<String fx:value="trois" />
|
||||
</styleClass>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
<styleClass>
|
||||
<String fx:value="barreDeVie" />
|
||||
<String fx:value="quatre" />
|
||||
</styleClass>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox prefHeight="100.0" prefWidth="50.0" styleClass="barreDeVie" stylesheets="@style/plateau.css">
|
||||
<children>
|
||||
<VBox prefHeight="64.0" prefWidth="25.0" />
|
||||
<VBox prefHeight="200.0" prefWidth="25.0" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox>
|
||||
<children>
|
||||
<VBox>
|
||||
<children>
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="Pas de" />
|
||||
<Label styleClass="text" stylesheets="@style/plateau.css" text="dégats" />
|
||||
</children>
|
||||
</VBox>
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="1" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="2" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="3" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="4" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="5" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="6" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="7" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="8" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="9" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="10" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="11" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="12" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="13" textAlignment="CENTER" />
|
||||
<Label alignment="CENTER" prefWidth="50.0" styleClass="text" stylesheets="@style/plateau.css" text="14" textAlignment="CENTER" />
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</HBox>
|
||||
</center>
|
||||
</BorderPane>
|
||||
</children>
|
||||
</AnchorPane>
|
@@ -2,22 +2,23 @@
|
||||
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="414.0" prefWidth="535.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.ChoisirBoolean">
|
||||
|
||||
<AnchorPane minHeight="0.0" minWidth="0.0" prefHeight="334.0" prefWidth="449.0" style="-fx-background-color: white;" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.ChoisirBoolean">
|
||||
<children>
|
||||
<Label layoutX="21.0" layoutY="39.0" text="Voulez vous faire cette action ?">
|
||||
<Label layoutX="8.0" layoutY="32.0" text="Voulez vous faire cette action ?" AnchorPane.bottomAnchor="215.0" AnchorPane.leftAnchor="8.0" AnchorPane.rightAnchor="7.0" AnchorPane.topAnchor="32.0">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button fx:id="ouiButton" layoutX="45.0" layoutY="257.0" mnemonicParsing="false" onMouseClicked="#choixOui" prefHeight="82.0" prefWidth="157.0" text="Oui" />
|
||||
<Label layoutX="202.0" layoutY="99.0">
|
||||
<Button fx:id="ouiButton" layoutX="68.0" layoutY="147.0" mnemonicParsing="false" onMouseClicked="#choixOui" text="Oui" AnchorPane.bottomAnchor="71.0" AnchorPane.leftAnchor="68.0" AnchorPane.rightAnchor="268.0" AnchorPane.topAnchor="147.0" />
|
||||
<Label layoutX="377.0" layoutY="245.0" AnchorPane.bottomAnchor="187.0" AnchorPane.leftAnchor="181.0" AnchorPane.rightAnchor="312.0" AnchorPane.topAnchor="60.0">
|
||||
<font>
|
||||
<Font size="36.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button fx:id="nonButton" layoutX="333.0" layoutY="257.0" mnemonicParsing="false" onMouseClicked="#choixNon" prefHeight="82.0" prefWidth="157.0" text="Non" />
|
||||
<Button fx:id="nonButton" layoutX="286.0" layoutY="147.0" mnemonicParsing="false" onMouseClicked="#choixNon" text="Non" AnchorPane.bottomAnchor="71.0" AnchorPane.leftAnchor="286.0" AnchorPane.rightAnchor="50.0" AnchorPane.topAnchor="147.0" />
|
||||
</children>
|
||||
</Pane>
|
||||
</AnchorPane>
|
||||
|
BIN
src/ihm/ressources/img/de.gif
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
src/ihm/ressources/img/dice.sprite.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
src/ihm/ressources/img/diceSprite.png
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
src/ihm/ressources/img/dosCartesLumière.jpg
Normal file
After Width: | Height: | Size: 90 KiB |
BIN
src/ihm/ressources/img/dosCartesNoires.jpg
Normal file
After Width: | Height: | Size: 109 KiB |
BIN
src/ihm/ressources/img/dosCartesPersonnage.jpg
Normal file
After Width: | Height: | Size: 109 KiB |
BIN
src/ihm/ressources/img/dosCartesPersonnageRot.jpg
Normal file
After Width: | Height: | Size: 128 KiB |
BIN
src/ihm/ressources/img/dosCartesVision.jpg
Normal file
After Width: | Height: | Size: 124 KiB |
BIN
src/ihm/ressources/img/dé.png
Normal file
After Width: | Height: | Size: 146 KiB |
BIN
src/ihm/ressources/img/dé1.jpg
Normal file
After Width: | Height: | Size: 25 KiB |
BIN
src/ihm/ressources/img/dé2.jpg
Normal file
After Width: | Height: | Size: 26 KiB |
BIN
src/ihm/ressources/img/dé3.jpg
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
src/ihm/ressources/img/dé4.jpg
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
src/ihm/ressources/img/dé5.jpg
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
src/ihm/ressources/img/dé6.jpg
Normal file
After Width: | Height: | Size: 30 KiB |
11
src/ihm/ressources/img/dés.fxml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.scene.image.Image?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
|
||||
|
||||
<ImageView fitHeight="33.0" fitWidth="200.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
|
||||
<image>
|
||||
<Image url="@dice.sprite.png" />
|
||||
</image>
|
||||
</ImageView>
|
BIN
src/ihm/ressources/img/dés.jpg
Normal file
After Width: | Height: | Size: 27 KiB |