summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-10-18 20:59:41 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-10-18 20:59:41 +0200
commit96d7905f7faef941f5454fd2c8b0b50a294fd26c (patch)
tree77377c56ed005fc56dcaad506f0f12bb598fef66 /elm/battlemap/src/Battlemap/Navigator
parent2805c647010cbcca126ebf162fcbdd691fc72488 (diff)
Borked mouse controls for the navigator, it seems.
Diffstat (limited to 'elm/battlemap/src/Battlemap/Navigator')
-rw-r--r--elm/battlemap/src/Battlemap/Navigator/Path.elm3
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) ->