changer le main

This commit is contained in:
2024-05-24 13:51:35 +02:00
parent 66d1009af8
commit 3bcb61015a

View File

@@ -19,13 +19,7 @@ public class Main {
new Player(new int[] {grid[0].length - 1, grid.length - 1}, "Luke Skywalker") new Player(new int[] {grid[0].length - 1, grid.length - 1}, "Luke Skywalker")
}; };
map.addObjects(Item.WALL, 19, 7); new Terminal(map, personnages).run();
map.addObjects(Item.WALL, 19, 6);
map.placeObjects();
Display.printMap(map.addEdges());
Display.printMapName(grid);
// new Terminal(map, personnages).run();
} }
// lancer en ligne // lancer en ligne
else { else {