diff --git a/JAVA/PROJET-PMT_STRI1A/src/json/main.java b/JAVA/PROJET-PMT_STRI1A/src/json/main.java index d1c7de6..e03477e 100644 --- a/JAVA/PROJET-PMT_STRI1A/src/json/main.java +++ b/JAVA/PROJET-PMT_STRI1A/src/json/main.java @@ -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("");