From 96d7905f7faef941f5454fd2c8b0b50a294fd26c Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Wed, 18 Oct 2017 20:59:41 +0200 Subject: Borked mouse controls for the navigator, it seems. --- elm/battlemap/src/Character.elm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'elm/battlemap/src/Character.elm') diff --git a/elm/battlemap/src/Character.elm b/elm/battlemap/src/Character.elm index b0be220..1b4d1a1 100644 --- a/elm/battlemap/src/Character.elm +++ b/elm/battlemap/src/Character.elm @@ -3,6 +3,7 @@ module Character exposing Type, Ref, get_ref, + get_icon_id, get_location, set_location, get_movement_points, @@ -25,8 +26,10 @@ type alias Type = type alias Ref = String get_ref : Type -> Ref -get_ref c = - c.id +get_ref c = c.id + +get_icon_id : Type -> String +get_icon_id c = c.icon get_location : Type -> Battlemap.Location.Type get_location t = t.location -- cgit v1.2.3-70-g09d2