liasons interface joué tour
This commit is contained in:
@@ -1,28 +1,44 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import java.lang.Double?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.layout.AnchorPane?>
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.shape.Polygon?>
|
||||
<?import javafx.scene.shape.Rectangle?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.JouerSonTour1Controller">
|
||||
<children>
|
||||
<Label layoutX="54.0" layoutY="19.0" text="%au.tour.de">
|
||||
<font>
|
||||
<Font size="14.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="70.0" layoutY="140.0" mnemonicParsing="false" onMouseClicked="#lancerDes" text="%lancer.de.des">
|
||||
<Button fx:id="btnLancer" layoutX="70.0" layoutY="140.0" mnemonicParsing="false" onMouseClicked="#lancerDes" text="%lancer.de.des">
|
||||
<font>
|
||||
<Font size="14.0" />
|
||||
</font></Button>
|
||||
<Label fx:id="nomJoueur" layoutX="140.0" layoutY="19.0" text="%joueur1">
|
||||
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="WHITE" height="96.0" layoutX="22.0" layoutY="25.0" stroke="BLACK" strokeType="INSIDE" width="96.0" />
|
||||
<Polygon fill="WHITE" layoutX="191.0" layoutY="81.0" 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>
|
||||
</Polygon>
|
||||
<Label fx:id="d6" layoutX="57.0" layoutY="38.0" styleClass="des" text="6">
|
||||
<font>
|
||||
<Font size="48.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Label fx:id="d4" layoutX="178.0" layoutY="51.0" styleClass="des" text="4">
|
||||
<font>
|
||||
<Font size="48.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button fx:id="btnStop" layoutX="101.0" layoutY="140.0" mnemonicParsing="false" onMouseClicked="#stop" text="Stop">
|
||||
<font>
|
||||
<Font size="14.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<AnchorPane fx:id="d6" layoutX="23.0" layoutY="50.0" prefHeight="80.0" prefWidth="80.0" />
|
||||
<AnchorPane fx:id="d4" layoutX="129.0" layoutY="50.0" prefHeight="80.0" prefWidth="80.0" />
|
||||
</Button>
|
||||
</children>
|
||||
</Pane>
|
||||
|
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.Button?>
|
||||
<?import javafx.scene.control.Label?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
@@ -7,18 +8,20 @@
|
||||
<?import javafx.scene.layout.Pane?>
|
||||
<?import javafx.scene.text.Font?>
|
||||
|
||||
|
||||
<AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.JouerSonTour2Controller">
|
||||
<children>
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css">
|
||||
<children>
|
||||
<Button layoutX="112.0" layoutY="128.0" mnemonicParsing="false" onMouseClicked="#capaciteLieu" text="%utiliser.capaciter.lieux" />
|
||||
<Button layoutX="136.0" layoutY="90.0" mnemonicParsing="false" onMouseClicked="#ignorerEtape" text="%sauter.etape" />
|
||||
<Button layoutX="103.0" layoutY="133.0" mnemonicParsing="false" onMouseClicked="#capaciteLieu" text="%utiliser.capaciter.lieux" />
|
||||
<Button layoutX="104.0" layoutY="97.0" mnemonicParsing="false" onMouseClicked="#ignorerEtape" prefHeight="29.0" prefWidth="142.0" text="%sauter.etape" />
|
||||
<ImageView fitHeight="114.0" fitWidth="82.0" layoutX="14.0" layoutY="33.0" pickOnBounds="true" preserveRatio="true" />
|
||||
<Label fx:id="descriptionLieu" layoutX="96.0" layoutY="33.0" text="%description.capacite.carte.lieux">
|
||||
<font>
|
||||
<Font size="11.0" />
|
||||
</font>
|
||||
<padding>
|
||||
<Insets left="5.0" />
|
||||
</padding>
|
||||
</Label>
|
||||
</children>
|
||||
</Pane>
|
||||
|
@@ -1,18 +1,81 @@
|
||||
<?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.text.Font?>
|
||||
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="480.0" prefWidth="640.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.JouerSonTour3Controller">
|
||||
<Pane fx:id="rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="180.0" prefWidth="255.0" stylesheets="@style/popUp.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ihm.controller.JouerSonTour3Controller">
|
||||
<children>
|
||||
<Label layoutX="191.0" layoutY="163.0" text="%attaquer.joueur">
|
||||
<font>
|
||||
<Font size="24.0" />
|
||||
</font>
|
||||
</Label>
|
||||
<Button layoutX="277.0" layoutY="265.0" mnemonicParsing="false" onMouseClicked="#pasAttaquer" text="%ne.pas.attaqur" />
|
||||
<Label layoutX="182.0" layoutY="208.0" text="Cliquez sur le nom du joueur que vous voulez attaquer" />
|
||||
<Button layoutX="76.0" layoutY="76.0" mnemonicParsing="false" onMouseClicked="#pasAttaquer" text="Ne pas attaquer" />
|
||||
<HBox layoutY="1.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 1">
|
||||
<font>
|
||||
<Font size="10.0" />
|
||||
</font>
|
||||
<HBox.margin>
|
||||
<Insets right="10.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button mnemonicParsing="false" text="Joueur 2">
|
||||
<font>
|
||||
<Font size="10.0" />
|
||||
</font>
|
||||
<HBox.margin>
|
||||
<Insets right="10.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button mnemonicParsing="false" text="Joueur 3">
|
||||
<font>
|
||||
<Font size="10.0" />
|
||||
</font>
|
||||
<HBox.margin>
|
||||
<Insets right="10.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button mnemonicParsing="false" text="Joueur 4">
|
||||
<font>
|
||||
<Font size="10.0" />
|
||||
</font>
|
||||
</Button>
|
||||
</children>
|
||||
</HBox>
|
||||
<HBox layoutX="1.0" layoutY="153.0">
|
||||
<children>
|
||||
<Button mnemonicParsing="false" text="Joueur 5">
|
||||
<font>
|
||||
<Font size="10.0" />
|
||||
</font>
|
||||
<HBox.margin>
|
||||
<Insets right="10.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button mnemonicParsing="false" text="Joueur 6">
|
||||
<font>
|
||||
<Font size="10.0" />
|
||||
</font>
|
||||
<HBox.margin>
|
||||
<Insets right="10.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button mnemonicParsing="false" text="Joueur 7">
|
||||
<font>
|
||||
<Font size="10.0" />
|
||||
</font>
|
||||
<HBox.margin>
|
||||
<Insets right="10.0" />
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Button mnemonicParsing="false" text="Joueur 8">
|
||||
<font>
|
||||
<Font size="10.0" />
|
||||
</font>
|
||||
</Button>
|
||||
</children>
|
||||
</HBox>
|
||||
<Label layoutX="73.0" layoutY="55.0" text="Attaquer un joueur !" />
|
||||
</children>
|
||||
</Pane>
|
||||
|
@@ -17,4 +17,8 @@ Button {
|
||||
-fx-background-color: #1d1d1d;
|
||||
-fx-text-fill: #d8d8d8;
|
||||
-fx-background-insets: 0 0 0 0, 0, 1, 2;
|
||||
}
|
||||
|
||||
.anchorDes{
|
||||
-fx-border-color: #e2e2e2;
|
||||
}
|
Reference in New Issue
Block a user