From 146aa1167558e5a5e7afb989167b7e8b29da51ad Mon Sep 17 00:00:00 2001 From: henriquenakashima Date: Sun, 28 Mar 2021 15:22:48 -0400 Subject: [PATCH] Make forward a path too --- questhelper/map/quest_map.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/questhelper/map/quest_map.py b/questhelper/map/quest_map.py index b37f42a..0587903 100644 --- a/questhelper/map/quest_map.py +++ b/questhelper/map/quest_map.py @@ -40,10 +40,11 @@ ENCOUNTER_TYPES_TOWN = [ ] -class DiagonalPath(enum.Enum): +class QuestPath(enum.Enum): NO_PATH = 'no_path' - TOWARDS_LEFT = 'towards_left' - TOWARDS_RIGHT = 'towards_right' + FORWARD = 'forward' + FORWARD_LEFT = 'forward_left' + FORWARD_RIGHT = 'forward_right' @dataclasses.dataclass @@ -63,4 +64,4 @@ class QuestMap: self.encounters: List[List[MapEncounter]] = [] # List of rows of diagonal paths, each row has 2 paths. - self.diagonals: List[List[DiagonalPath]] = [] + self.diagonals: List[List[QuestPath]] = []