Modif class labyrinthe

nicolas
Nicolas 6 years ago
parent a33bba5a6e
commit fc3a9ae075

@ -9,14 +9,10 @@ public class main {
public static void main(String[] args) { public static void main(String[] args) {
gsonGenerator generateur = new gsonGenerator(); 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(); Generateur gene = new Generateur();
Labyrinthe lab = gene.labyrithe(); Labyrinthe lab = gene.labyrithe();
lab.getListeSalle();
Arme arme = new Arme("arme1", 10, 10, 10); Arme arme = new Arme("arme1", 10, 10, 10);
System.out.println(""); System.out.println("");

Loading…
Cancel
Save