From 2223e55d5d9c61f4ab93d8dab0b5f9820272c8fe Mon Sep 17 00:00:00 2001 From: syeyoung Date: Wed, 10 Feb 2021 16:52:36 +0900 Subject: add get all states --- .../dungeonsguide/dungeon/mechanics/DungeonPressurePlate.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonPressurePlate.java') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonPressurePlate.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonPressurePlate.java index ab33a5db..4eeeab35 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonPressurePlate.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/mechanics/DungeonPressurePlate.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.ActionDropItem; @@ -90,4 +91,8 @@ public class DungeonPressurePlate implements DungeonMechanic { return Collections.singleton("triggered"); return Collections.emptySet(); } + @Override + public Set getTotalPossibleStates(DungeonRoom dungeonRoom) { + return Sets.newHashSet("triggered", "untriggered"); + } } -- cgit