aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonDoor.java11
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonOnewayDoor.java11
2 files changed, 0 insertions, 22 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonDoor.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonDoor.java
index d496b450..8026ccfe 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonDoor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonDoor.java
@@ -32,17 +32,6 @@ public class DungeonDoor implements DungeonMechanic, RouteBlocker {
}
Set<Action> base;
Set<Action> preRequisites = base = new HashSet<Action>();
- if (!state.equalsIgnoreCase(getCurrentState(dungeonRoom))) {
- ActionClickSet actionClick;
- preRequisites.add(actionClick = new ActionClickSet(secretPoint));
- actionClick.setPredicate(PredicateSuperBoom.INSTANCE);
- preRequisites = actionClick.getPreRequisite();
- }
- {
- ActionMoveNearestAir actionMove = new ActionMoveNearestAir(secretPoint.getOffsetPointList().get(0));
- preRequisites.add(actionMove);
- preRequisites = actionMove.getPreRequisite();
- }
{
if (state.equalsIgnoreCase("open")) {
for (String str : openPreRequisite) {
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonOnewayDoor.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonOnewayDoor.java
index 9027f0dc..27f6fc68 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonOnewayDoor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonOnewayDoor.java
@@ -32,17 +32,6 @@ public class DungeonOnewayDoor implements DungeonMechanic, RouteBlocker {
Set<Action> base;
Set<Action> preRequisites = base = new HashSet<Action>();
{
- ActionClickSet actionClick;
- preRequisites.add(actionClick = new ActionClickSet(secretPoint));
- actionClick.setPredicate(PredicateSuperBoom.INSTANCE);
- preRequisites = actionClick.getPreRequisite();
- }
- {
- ActionMoveNearestAir actionMove = new ActionMoveNearestAir(secretPoint.getOffsetPointList().get(0));
- preRequisites.add(actionMove);
- preRequisites = actionMove.getPreRequisite();
- }
- {
for (String str : preRequisite) {
if (str.isEmpty()) continue;
ActionChangeState actionChangeState = new ActionChangeState(str.split(":")[0], str.split(":")[1]);