|
|
@ -6,9 +6,19 @@ public class main {
|
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) throws IOException {
|
|
|
|
public static void main(String[] args) throws IOException {
|
|
|
|
|
|
|
|
|
|
|
|
Generateur gene = new Generateur();
|
|
|
|
Menu menu = new Menu();
|
|
|
|
Labyrinthe lab = new Labyrinthe();
|
|
|
|
Labyrinthe lab=menu.menuStartGame();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Personnage perso = menu.menuSelection(lab);
|
|
|
|
|
|
|
|
perso.setSalle(lab.listePorte.get(0).getSalle1());
|
|
|
|
|
|
|
|
Salle next =lab.listePorte.get(perso.getSalle().getListePorte().get(0)).prochainSaut(perso.getSalle());
|
|
|
|
|
|
|
|
System.out.println(menu.menuCombat(lab.listeMonstre.get(next.getListeEnnemie().get(0)), perso, lab));
|
|
|
|
|
|
|
|
perso.setSalle(next);
|
|
|
|
|
|
|
|
System.out.println("le personnage à bouger");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Clavier.entrerClavierInt();
|
|
|
|
|
|
|
|
//menu.menuCombat(lab.listeMonstre.get(0), lab.listePersonnage.get(0), lab);
|
|
|
|
|
|
|
|
//menu.menuSelection(lab);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|