lancer des

This commit is contained in:
Kruss
2020-05-12 15:30:04 +02:00
parent 985a085e74
commit 8963221080
15 changed files with 246 additions and 69 deletions

View File

@@ -266,8 +266,9 @@ public class Plateau extends Thread{
System.out.println(joueurs.size());
Joueur currentJoueur = this.joueurs.get(i % nbJoueurs);
currentJoueur.choisir(joueurs, Joueur.class);
int lancer = currentJoueur.lancerDes(Contexte.LANCER_DES_4);
System.out.println("\n\n\n\n\n");
System.out.println(lancer);
System.out.println("Au tour de "+currentJoueur.getNom());
System.out.println("Lancement des dés.");
deplacer(currentJoueur);
@@ -477,4 +478,8 @@ public class Plateau extends Thread{
gj.retirerEquipement(joueur,e);
}
public int lancerDes(Joueur joueur, Contexte typeLancer) {
return gj.jouerDes(joueur, typeLancer);
}
}