From e1b208b16d9a2c0c3b0019b5e74557e47a05e203 Mon Sep 17 00:00:00 2001 From: Paul Gross Date: Tue, 12 May 2020 15:22:00 +0200 Subject: [PATCH] Dos de cartes --- src/ihm/controller/PlateauController.java | 13 ++++++++++ src/ihm/ressources/PlateauTest2.fxml | 30 +++-------------------- 2 files changed, 17 insertions(+), 26 deletions(-) diff --git a/src/ihm/controller/PlateauController.java b/src/ihm/controller/PlateauController.java index 1538e3a..42388a4 100644 --- a/src/ihm/controller/PlateauController.java +++ b/src/ihm/controller/PlateauController.java @@ -61,6 +61,8 @@ public class PlateauController implements Initializable { private Map mapRessourcesCartes; + private Map mapRessourcesDosCartes; + public static int DICE_SIX = 2; public static int DICE_QUATRE = 1; public static int DICE_BOTH = 0; @@ -97,6 +99,7 @@ public class PlateauController implements Initializable { mapRessourcesCartes = rl.getRessourceCartes(); + setMapRessourcesDosCartes(rl.getRessourceDosCartes()); List cl = gj.getCartesLieux(); List ivs = this.getLieux(); @@ -508,4 +511,14 @@ public class PlateauController implements Initializable { jihm.setZoneJoueur(root); } + + + public Map getMapRessourcesDosCartes() { + return mapRessourcesDosCartes; + } + + + public void setMapRessourcesDosCartes(Map mapRessourcesDosCartes) { + this.mapRessourcesDosCartes = mapRessourcesDosCartes; + } } \ No newline at end of file diff --git a/src/ihm/ressources/PlateauTest2.fxml b/src/ihm/ressources/PlateauTest2.fxml index 1ac6733..4796543 100644 --- a/src/ihm/ressources/PlateauTest2.fxml +++ b/src/ihm/ressources/PlateauTest2.fxml @@ -19,13 +19,13 @@ - + - + @@ -252,7 +252,7 @@ - + @@ -616,28 +616,6 @@ - - - - - - - - - - - - - - - - - - - - - - @@ -757,7 +735,7 @@ - +