Changement plateau

This commit is contained in:
Paul Gross
2020-05-12 11:18:52 +02:00
parent 60cfeddaf1
commit 985a085e74
2 changed files with 29 additions and 35 deletions

View File

@ -43,8 +43,14 @@ public class JoueurIHM {
String name = joueur.getNom();
setLabelJoueur(name);
initRevealButton();
initZoneEquipement();
}
private void initZoneEquipement() {
HBox hb = getPaneEquipement();
}
private void initRevealButton() {
Button btn = getRevealButton();
btn.setOnAction(x -> {
@ -58,7 +64,6 @@ public class JoueurIHM {
iv.fitHeightProperty().bind(gp.heightProperty());
btn.setDisable(true);
});
}
public Button getRevealButton() {
@ -87,11 +92,8 @@ public class JoueurIHM {
AnchorPane.setLeftAnchor(p,0.0);
AnchorPane.setRightAnchor(p,0.0);
AnchorPane.setTopAnchor(p,0.0);
}
public Label getLabelJoueur() {
return (Label) zoneJoueur.getChildren().get(0);
}