Ajout des cartes lieux en provenance de la bdd
This commit is contained in:
@@ -44,8 +44,7 @@ public class GestionnaireDePions {
|
||||
StackPane nNew = (StackPane) gp.getChildren().get(damage);
|
||||
FlowPane fpNew = (FlowPane) nNew.getChildren().get(0);
|
||||
|
||||
fpNew.getChildren().add(pionVie);
|
||||
|
||||
if(!fpNew.getChildren().contains(pionVie)) fpNew.getChildren().add(pionVie);
|
||||
|
||||
}
|
||||
|
||||
@@ -66,9 +65,10 @@ public class GestionnaireDePions {
|
||||
}
|
||||
|
||||
StackPane sp = (StackPane) hbox.getChildren().get(indexCL%2);
|
||||
FlowPane fp = (FlowPane) sp.getChildren().get(0);
|
||||
FlowPane fp = (FlowPane) sp.getChildren().get(1);
|
||||
|
||||
fp.getChildren().add(this.pionLieu);
|
||||
if(!fp.getChildren().contains(this.pionLieu)) fp.getChildren().add(this.pionLieu);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user