|
|
|
@ -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("");
|
|
|
|
|
|
|
|
|
|