diff options
author | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-12-15 00:40:58 +0900 |
---|---|---|
committer | syeyoung <42869671+cyoung06@users.noreply.github.com> | 2020-12-15 00:40:58 +0900 |
commit | 496efb764360cd26fa40982532048aa18ae4c6be (patch) | |
tree | 483665c7501a5855ce439fbeff1c3d8ac8b15618 /src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionRoot.java | |
parent | ff817d0a37b907ff1f5132b04e737413b020ecd1 (diff) | |
download | Skyblock-Dungeons-Guide-496efb764360cd26fa40982532048aa18ae4c6be.tar.gz Skyblock-Dungeons-Guide-496efb764360cd26fa40982532048aa18ae4c6be.tar.bz2 Skyblock-Dungeons-Guide-496efb764360cd26fa40982532048aa18ae4c6be.zip |
dungeon actions and secrets
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionRoot.java')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionRoot.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionRoot.java b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionRoot.java new file mode 100644 index 00000000..3d625371 --- /dev/null +++ b/src/main/java/kr/syeyoung/dungeonsguide/dungeon/actions/ActionRoot.java @@ -0,0 +1,25 @@ +package kr.syeyoung.dungeonsguide.dungeon.actions; + +import kr.syeyoung.dungeonsguide.dungeon.roomfinder.DungeonRoom; +import lombok.Data; + +import java.util.HashSet; +import java.util.Set; + +@Data +public class ActionRoot implements Action { + private Set<Action> preRequisite = new HashSet<Action>(); + + public ActionRoot() { + } + + @Override + public Set<Action> getPreRequisites(DungeonRoom dungeonRoom) { + return preRequisite; + } + + @Override + public String toString() { + return "Action Root"; + } +} |