ajout des noms des personnages sur la barre de blessures
This commit is contained in:
parent
bee7c7894d
commit
b8d0dde99d
@ -72,6 +72,8 @@ public class ChoisirJoueur implements Initializable {
|
||||
GestionnaireJeu.notifyPlateau();
|
||||
this.joueurSelected = jihm;
|
||||
});
|
||||
System.out.println("b.gettext = " + b.getText());
|
||||
System.out.println("jihm.getnom = " + jihm.getNom());
|
||||
b.setText(jihm.getNom());
|
||||
i++;
|
||||
}
|
||||
|
@ -420,6 +420,78 @@
|
||||
<Insets bottom="-50.0" top="-45.0" />
|
||||
</VBox.margin>
|
||||
</Button>
|
||||
<GridPane>
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<VBox.margin>
|
||||
<Insets bottom="-40.0" />
|
||||
</VBox.margin>
|
||||
<children>
|
||||
<StackPane prefHeight="150.0" prefWidth="200.0" GridPane.columnIndex="8">
|
||||
<children>
|
||||
<Label styleClass="text" text="Allie" />
|
||||
</children>
|
||||
</StackPane>
|
||||
<StackPane prefHeight="150.0" prefWidth="200.0" GridPane.columnIndex="10">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Label styleClass="text" text="Bob" />
|
||||
<Label layoutX="38.0" layoutY="16.0" styleClass="text" text="Emi" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</StackPane>
|
||||
<StackPane prefHeight="150.0" prefWidth="200.0" GridPane.columnIndex="11">
|
||||
<children>
|
||||
<Label styleClass="text" text="Charles" />
|
||||
</children>
|
||||
</StackPane>
|
||||
<StackPane prefHeight="150.0" prefWidth="200.0" GridPane.columnIndex="12">
|
||||
<children>
|
||||
<Label styleClass="text" text="Franklin" />
|
||||
</children>
|
||||
</StackPane>
|
||||
<StackPane prefHeight="150.0" prefWidth="200.0" GridPane.columnIndex="13">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Label styleClass="text" text="Vampire" />
|
||||
<Label layoutX="27.0" layoutY="16.0" styleClass="text" text="Daniel" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</StackPane>
|
||||
<StackPane prefHeight="150.0" prefWidth="200.0" GridPane.columnIndex="14">
|
||||
<children>
|
||||
<VBox alignment="CENTER" prefHeight="200.0" prefWidth="100.0">
|
||||
<children>
|
||||
<Label styleClass="text" text="Loup-Garou" />
|
||||
<Label layoutX="38.0" layoutY="16.0" styleClass="text" text="George" />
|
||||
</children>
|
||||
</VBox>
|
||||
</children>
|
||||
</StackPane>
|
||||
</children>
|
||||
</GridPane>
|
||||
<GridPane fx:id="gridPaneVie" alignment="CENTER" hgap="5.0" vgap="5.0">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user