Dos de cartes

This commit is contained in:
Paul Gross
2020-05-12 15:22:00 +02:00
parent fc94ebc99f
commit e1b208b16d
2 changed files with 17 additions and 26 deletions

View File

@ -61,6 +61,8 @@ public class PlateauController implements Initializable {
private Map<Carte,BufferedImage> mapRessourcesCartes;
private Map<String,BufferedImage> 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<CarteLieu> cl = gj.getCartesLieux();
List<ImageView> ivs = this.getLieux();
@ -508,4 +511,14 @@ public class PlateauController implements Initializable {
jihm.setZoneJoueur(root);
}
public Map<String,BufferedImage> getMapRessourcesDosCartes() {
return mapRessourcesDosCartes;
}
public void setMapRessourcesDosCartes(Map<String,BufferedImage> mapRessourcesDosCartes) {
this.mapRessourcesDosCartes = mapRessourcesDosCartes;
}
}