initial commit

This commit is contained in:
2024-06-25 18:53:44 +02:00
commit 506ce1f188
14 changed files with 164 additions and 0 deletions

16
src/CreateSmallMaze.java Normal file
View File

@@ -0,0 +1,16 @@
public class CreateSmallMaze {
public static Room createSmallMaze() {
Room a = new Room("a2");
Room b = new Room("b2");
b.addReachable(a);
a = new Room("b1");
a.setMinotaur(true);
a.addReachable(b);
b = new Room("a1");
b.addReachable(a);
return b;
}
}