aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonTomb.java
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-02-10 16:52:36 +0900
committersyeyoung <cyong06@naver.com>2021-02-10 16:52:36 +0900
commit2223e55d5d9c61f4ab93d8dab0b5f9820272c8fe (patch)
treecb974956664f7402358e1549d3cff35af8a45145 /src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonTomb.java
parent26de881921c351c9b39dfef5e3770e7d042ddd53 (diff)
downloadSkyblock-Dungeons-Guide-2223e55d5d9c61f4ab93d8dab0b5f9820272c8fe.tar.gz
Skyblock-Dungeons-Guide-2223e55d5d9c61f4ab93d8dab0b5f9820272c8fe.tar.bz2
Skyblock-Dungeons-Guide-2223e55d5d9c61f4ab93d8dab0b5f9820272c8fe.zip
add get all states
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonTomb.java')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonTomb.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonTomb.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonTomb.java
index 86c6a818..9b5a84fa 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonTomb.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonTomb.java
@@ -1,5 +1,6 @@
package kr.syeyoung.dungeonsguide.dungeon.mechanics;
+import com.google.common.collect.Sets;
import kr.syeyoung.dungeonsguide.dungeon.actions.Action;
import kr.syeyoung.dungeonsguide.dungeon.actions.ActionChangeState;
import kr.syeyoung.dungeonsguide.dungeon.actions.ActionClickSet;
@@ -93,4 +94,8 @@ public class DungeonTomb implements DungeonMechanic, RouteBlocker {
public Set<String> getPossibleStates(DungeonRoom dungeonRoom) {
return isBlocking(dungeonRoom) ? Collections.singleton("open") : Collections.<String>emptySet();
}
+ @Override
+ public Set<String> getTotalPossibleStates(DungeonRoom dungeonRoom) {
+ return Sets.newHashSet("open", "closed");
+ }
}