This commit is contained in:
2026-05-12 15:50:32 +02:00
parent 14702200e9
commit 05f883fdf1
6 changed files with 249 additions and 60 deletions

View File

@@ -0,0 +1,19 @@
package j2024.FT;
public class SampleMaze {
public static Room createSmallMaze() {
Room a1 = new Room("a1");
Room b1 = new Room("b1");
Room a2 = new Room("a2");
Room b2 = new Room("b2");
b1.setMinotaur(true);
a2.addReachable(b2);
b2.addReachable(b1);
b1.addReachable(a1);
return a2;
}
}