Modif class labyrinthe

This commit is contained in:
Nicolas 2019-05-04 17:51:09 +02:00
parent a33bba5a6e
commit fc3a9ae075

View File

@ -9,14 +9,10 @@ public class main {
public static void main(String[] args) {
gsonGenerator generateur = new gsonGenerator();
Monstre monstr = new Monstre("test", 5);
String chaine = "{\"positionX\":0,\"positionY\":0,\"sortie\":false,\"monstre\":[{\"nom\":\"premier monstre\",\"pAttaque\":5}],\"porte\":[{\"ouvert\":true, \"position\":\"H\"}]}";
generateur.generate(chaine);
System.out.println("test");
System.out.println(System.getProperty("user.dir"));
Generateur gene = new Generateur();
Labyrinthe lab = gene.labyrithe();
lab.getListeSalle();
Arme arme = new Arme("arme1", 10, 10, 10);
System.out.println("");