summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'elm/battlemap/src/Battlemap/Navigator/Path.elm')
-rw-r--r-- | elm/battlemap/src/Battlemap/Navigator/Path.elm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/elm/battlemap/src/Battlemap/Navigator/Path.elm b/elm/battlemap/src/Battlemap/Navigator/Path.elm index a20c0b7..53e12c0 100644 --- a/elm/battlemap/src/Battlemap/Navigator/Path.elm +++ b/elm/battlemap/src/Battlemap/Navigator/Path.elm @@ -4,6 +4,7 @@ module Battlemap.Navigator.Path exposing new, get_current_location, get_remaining_points, + get_summary, try_following_direction ) @@ -131,6 +132,8 @@ get_current_location path = path.current_location get_remaining_points : Type -> Int get_remaining_points path = path.remaining_points +get_summary : Type -> (List Battlemap.Direction.Type) +get_summary path = path.previous_directions try_following_direction : ( (Battlemap.Location.Type -> Bool) -> (Battlemap.Location.Type -> Int) -> |