package kr.syeyoung.dungeonsguide.dungeon.actions; import kr.syeyoung.dungeonsguide.dungeon.data.OffsetPoint; import kr.syeyoung.dungeonsguide.dungeon.roomfinder.DungeonRoom; import lombok.Data; import java.util.HashSet; import java.util.Set; @Data public class ActionMoveNearestAir implements Action { private Set preRequisite = new HashSet(); private OffsetPoint target; public ActionMoveNearestAir(OffsetPoint target) { this.target = target; } @Override public Set getPreRequisites(DungeonRoom dungeonRoom) { return preRequisite; } @Override public String toString() { return "MoveNearestAir\n- target: "+target.toString(); } }