summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2017-10-18 13:48:58 +0200 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2017-10-18 13:48:58 +0200 |
commit | 2805c647010cbcca126ebf162fcbdd691fc72488 (patch) | |
tree | 2e05d66c8177cc5ff5125e2cbc23fdd4b1d05e36 /elm/battlemap/src/Battlemap/Navigator/RangeIndicator.elm | |
parent | d0dc7f665ba90d126e41048b2d7b992c3e804163 (diff) |
Correcting whatever the compiler tells me is wrong.
Diffstat (limited to 'elm/battlemap/src/Battlemap/Navigator/RangeIndicator.elm')
-rw-r--r-- | elm/battlemap/src/Battlemap/Navigator/RangeIndicator.elm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/elm/battlemap/src/Battlemap/Navigator/RangeIndicator.elm b/elm/battlemap/src/Battlemap/Navigator/RangeIndicator.elm index 9f31d49..a8cac8e 100644 --- a/elm/battlemap/src/Battlemap/Navigator/RangeIndicator.elm +++ b/elm/battlemap/src/Battlemap/Navigator/RangeIndicator.elm @@ -2,7 +2,8 @@ module Battlemap.Navigator.RangeIndicator exposing ( Type, generate, - get_marker + get_marker, + get_path ) import Dict @@ -281,3 +282,6 @@ generate location dist atk_dist can_cross_fun = get_marker : Type -> Battlemap.Marker.Type get_marker indicator = indicator.marker + +get_path : Type -> (List Battlemap.Direction.Type) +get_path indicator = indicator.path |