aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree
diff options
context:
space:
mode:
authorsyeyoung <42869671+cyoung06@users.noreply.github.com>2020-12-15 16:56:06 +0900
committersyeyoung <42869671+cyoung06@users.noreply.github.com>2020-12-15 16:56:06 +0900
commit917ca305d875924863cfcae7f1cb8d805a98122d (patch)
treed58a14f0344b332e2a207e3a25b45847a018aae3 /src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree
parent5009cd40af60e0519609ef1656483ba14b60eef1 (diff)
downloadSkyblock-Dungeons-Guide-917ca305d875924863cfcae7f1cb8d805a98122d.tar.gz
Skyblock-Dungeons-Guide-917ca305d875924863cfcae7f1cb8d805a98122d.tar.bz2
Skyblock-Dungeons-Guide-917ca305d875924863cfcae7f1cb8d805a98122d.zip
this works fantasticallyas
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree/ActionTree.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree/ActionTree.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree/ActionTree.java
index 334f7c2b..009924cf 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree/ActionTree.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/tree/ActionTree.java
@@ -35,6 +35,10 @@ public class ActionTree {
tree.setChildren(set);
return tree;
}
+ public static ActionTree buildActionTree(Action actions, DungeonRoom dungeonRoom) {
+ return buildActionTree(null, actions, dungeonRoom, new HashMap<Action, ActionTree>());
+ }
+
private static ActionTree buildActionTree(ActionTree parent, Action action, DungeonRoom dungeonRoom, Map<Action, ActionTree> alreadyBuilt) {