modif barre de vie plateau
This commit is contained in:
parent
628dc33bb2
commit
63b12cbf9a
@ -66,7 +66,6 @@ public class PlayersController implements Initializable{
|
|||||||
ligne.add(hb7);
|
ligne.add(hb7);
|
||||||
ligne.add(hb8);
|
ligne.add(hb8);
|
||||||
for (HBox hb : ligne) {
|
for (HBox hb : ligne) {
|
||||||
System.out.println(hb);
|
|
||||||
txt.add((TextField) hb.getChildren().get(0));
|
txt.add((TextField) hb.getChildren().get(0));
|
||||||
plus.add((Button) hb.getChildren().get(1));
|
plus.add((Button) hb.getChildren().get(1));
|
||||||
ia.add((CheckBox) hb.getChildren().get(2));
|
ia.add((CheckBox) hb.getChildren().get(2));
|
||||||
|
@ -355,7 +355,7 @@
|
|||||||
</GridPane>
|
</GridPane>
|
||||||
</children>
|
</children>
|
||||||
</GridPane>
|
</GridPane>
|
||||||
<Button mnemonicParsing="false" onMouseClicked="#mettreEnPause" styleClass="bouton">
|
<Button mnemonicParsing="false" onMouseClicked="#mettreEnPause" styleClass="boutonPause">
|
||||||
<graphic>
|
<graphic>
|
||||||
<ImageView fitHeight="44.0" fitWidth="38.0" pickOnBounds="true" preserveRatio="true">
|
<ImageView fitHeight="44.0" fitWidth="38.0" pickOnBounds="true" preserveRatio="true">
|
||||||
<image>
|
<image>
|
||||||
@ -382,6 +382,8 @@
|
|||||||
<ColumnConstraints hgrow="SOMETIMES" />
|
<ColumnConstraints hgrow="SOMETIMES" />
|
||||||
<ColumnConstraints hgrow="SOMETIMES" />
|
<ColumnConstraints hgrow="SOMETIMES" />
|
||||||
<ColumnConstraints hgrow="SOMETIMES" />
|
<ColumnConstraints hgrow="SOMETIMES" />
|
||||||
|
<ColumnConstraints hgrow="SOMETIMES" />
|
||||||
|
<ColumnConstraints hgrow="SOMETIMES" />
|
||||||
</columnConstraints>
|
</columnConstraints>
|
||||||
<rowConstraints>
|
<rowConstraints>
|
||||||
<RowConstraints vgrow="SOMETIMES" />
|
<RowConstraints vgrow="SOMETIMES" />
|
||||||
@ -412,7 +414,7 @@
|
|||||||
</children>
|
</children>
|
||||||
<styleClass>
|
<styleClass>
|
||||||
<String fx:value="barreDeVie" />
|
<String fx:value="barreDeVie" />
|
||||||
<String fx:value="zero" />
|
<String fx:value="un" />
|
||||||
</styleClass>
|
</styleClass>
|
||||||
</StackPane>
|
</StackPane>
|
||||||
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="2">
|
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="2">
|
||||||
@ -426,7 +428,7 @@
|
|||||||
</children>
|
</children>
|
||||||
<styleClass>
|
<styleClass>
|
||||||
<String fx:value="barreDeVie" />
|
<String fx:value="barreDeVie" />
|
||||||
<String fx:value="zero" />
|
<String fx:value="deux" />
|
||||||
</styleClass>
|
</styleClass>
|
||||||
</StackPane>
|
</StackPane>
|
||||||
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="3">
|
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="3">
|
||||||
@ -440,7 +442,7 @@
|
|||||||
</children>
|
</children>
|
||||||
<styleClass>
|
<styleClass>
|
||||||
<String fx:value="barreDeVie" />
|
<String fx:value="barreDeVie" />
|
||||||
<String fx:value="zero" />
|
<String fx:value="trois" />
|
||||||
</styleClass>
|
</styleClass>
|
||||||
</StackPane>
|
</StackPane>
|
||||||
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="4">
|
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="4">
|
||||||
@ -454,10 +456,10 @@
|
|||||||
</children>
|
</children>
|
||||||
<styleClass>
|
<styleClass>
|
||||||
<String fx:value="barreDeVie" />
|
<String fx:value="barreDeVie" />
|
||||||
<String fx:value="zero" />
|
<String fx:value="quatre" />
|
||||||
</styleClass>
|
</styleClass>
|
||||||
</StackPane>
|
</StackPane>
|
||||||
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="5">
|
<StackPane layoutX="10.0" layoutY="10.0" styleClass="barreDeVie" GridPane.columnIndex="5">
|
||||||
<children>
|
<children>
|
||||||
<FlowPane />
|
<FlowPane />
|
||||||
<Label alignment="CENTER" text="0" textFill="WHITE">
|
<Label alignment="CENTER" text="0" textFill="WHITE">
|
||||||
@ -466,12 +468,8 @@
|
|||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
</children>
|
</children>
|
||||||
<styleClass>
|
|
||||||
<String fx:value="barreDeVie" />
|
|
||||||
<String fx:value="zero" />
|
|
||||||
</styleClass>
|
|
||||||
</StackPane>
|
</StackPane>
|
||||||
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="6">
|
<StackPane layoutX="10.0" layoutY="10.0" styleClass="barreDeVie" GridPane.columnIndex="6">
|
||||||
<children>
|
<children>
|
||||||
<FlowPane />
|
<FlowPane />
|
||||||
<Label alignment="CENTER" text="0" textFill="WHITE">
|
<Label alignment="CENTER" text="0" textFill="WHITE">
|
||||||
@ -480,12 +478,8 @@
|
|||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
</children>
|
</children>
|
||||||
<styleClass>
|
|
||||||
<String fx:value="barreDeVie" />
|
|
||||||
<String fx:value="zero" />
|
|
||||||
</styleClass>
|
|
||||||
</StackPane>
|
</StackPane>
|
||||||
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="7">
|
<StackPane layoutX="10.0" layoutY="10.0" styleClass="barreDeVie" GridPane.columnIndex="7">
|
||||||
<children>
|
<children>
|
||||||
<FlowPane />
|
<FlowPane />
|
||||||
<Label alignment="CENTER" text="0" textFill="WHITE">
|
<Label alignment="CENTER" text="0" textFill="WHITE">
|
||||||
@ -494,12 +488,8 @@
|
|||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
</children>
|
</children>
|
||||||
<styleClass>
|
|
||||||
<String fx:value="barreDeVie" />
|
|
||||||
<String fx:value="zero" />
|
|
||||||
</styleClass>
|
|
||||||
</StackPane>
|
</StackPane>
|
||||||
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="8">
|
<StackPane layoutX="10.0" layoutY="10.0" styleClass="barreDeVie" GridPane.columnIndex="8">
|
||||||
<children>
|
<children>
|
||||||
<FlowPane />
|
<FlowPane />
|
||||||
<Label alignment="CENTER" text="0" textFill="WHITE">
|
<Label alignment="CENTER" text="0" textFill="WHITE">
|
||||||
@ -508,12 +498,8 @@
|
|||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
</children>
|
</children>
|
||||||
<styleClass>
|
|
||||||
<String fx:value="barreDeVie" />
|
|
||||||
<String fx:value="zero" />
|
|
||||||
</styleClass>
|
|
||||||
</StackPane>
|
</StackPane>
|
||||||
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="9">
|
<StackPane layoutX="10.0" layoutY="10.0" styleClass="barreDeVie" GridPane.columnIndex="9">
|
||||||
<children>
|
<children>
|
||||||
<FlowPane />
|
<FlowPane />
|
||||||
<Label alignment="CENTER" text="0" textFill="WHITE">
|
<Label alignment="CENTER" text="0" textFill="WHITE">
|
||||||
@ -522,12 +508,8 @@
|
|||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
</children>
|
</children>
|
||||||
<styleClass>
|
|
||||||
<String fx:value="barreDeVie" />
|
|
||||||
<String fx:value="zero" />
|
|
||||||
</styleClass>
|
|
||||||
</StackPane>
|
</StackPane>
|
||||||
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="10">
|
<StackPane layoutX="10.0" layoutY="10.0" styleClass="barreDeVie" GridPane.columnIndex="10">
|
||||||
<children>
|
<children>
|
||||||
<FlowPane />
|
<FlowPane />
|
||||||
<Label alignment="CENTER" text="0" textFill="WHITE">
|
<Label alignment="CENTER" text="0" textFill="WHITE">
|
||||||
@ -536,12 +518,8 @@
|
|||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
</children>
|
</children>
|
||||||
<styleClass>
|
|
||||||
<String fx:value="barreDeVie" />
|
|
||||||
<String fx:value="zero" />
|
|
||||||
</styleClass>
|
|
||||||
</StackPane>
|
</StackPane>
|
||||||
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="11">
|
<StackPane layoutX="10.0" layoutY="10.0" styleClass="barreDeVie" GridPane.columnIndex="11">
|
||||||
<children>
|
<children>
|
||||||
<FlowPane />
|
<FlowPane />
|
||||||
<Label alignment="CENTER" text="0" textFill="WHITE">
|
<Label alignment="CENTER" text="0" textFill="WHITE">
|
||||||
@ -550,12 +528,28 @@
|
|||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
</children>
|
</children>
|
||||||
<styleClass>
|
|
||||||
<String fx:value="barreDeVie" />
|
|
||||||
<String fx:value="zero" />
|
|
||||||
</styleClass>
|
|
||||||
</StackPane>
|
</StackPane>
|
||||||
<StackPane layoutX="10.0" layoutY="10.0" GridPane.columnIndex="12">
|
<StackPane layoutX="10.0" layoutY="10.0" styleClass="barreDeVie" GridPane.columnIndex="12">
|
||||||
|
<children>
|
||||||
|
<FlowPane />
|
||||||
|
<Label alignment="CENTER" text="0" textFill="WHITE">
|
||||||
|
<font>
|
||||||
|
<Font size="36.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
</children>
|
||||||
|
</StackPane>
|
||||||
|
<StackPane styleClass="barreDeVie" GridPane.columnIndex="13">
|
||||||
|
<children>
|
||||||
|
<FlowPane />
|
||||||
|
<Label alignment="CENTER" text="0" textFill="WHITE">
|
||||||
|
<font>
|
||||||
|
<Font size="36.0" />
|
||||||
|
</font>
|
||||||
|
</Label>
|
||||||
|
</children>
|
||||||
|
</StackPane>
|
||||||
|
<StackPane styleClass="barreDeVie" GridPane.columnIndex="14">
|
||||||
<children>
|
<children>
|
||||||
<FlowPane />
|
<FlowPane />
|
||||||
<Label alignment="CENTER" text="0" textFill="WHITE">
|
<Label alignment="CENTER" text="0" textFill="WHITE">
|
||||||
@ -564,10 +558,6 @@
|
|||||||
</font>
|
</font>
|
||||||
</Label>
|
</Label>
|
||||||
</children>
|
</children>
|
||||||
<styleClass>
|
|
||||||
<String fx:value="barreDeVie" />
|
|
||||||
<String fx:value="zero" />
|
|
||||||
</styleClass>
|
|
||||||
</StackPane>
|
</StackPane>
|
||||||
</children>
|
</children>
|
||||||
</GridPane>
|
</GridPane>
|
||||||
|
@ -50,6 +50,11 @@
|
|||||||
-fx-background-insets: 0 0 0 0, 0, 1, 2;
|
-fx-background-insets: 0 0 0 0, 0, 1, 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.boutonPause {
|
||||||
|
-fx-border-width: 0;
|
||||||
|
-fx-background-color: none;
|
||||||
|
}
|
||||||
|
|
||||||
.carteLumiere {
|
.carteLumiere {
|
||||||
-fx-background-color: #edebea;
|
-fx-background-color: #edebea;
|
||||||
-fx-border-color: #cecece;
|
-fx-border-color: #cecece;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user