| summaryrefslogtreecommitdiff | 
diff options
Diffstat (limited to 'elm/battlemap/src/Character.elm')
| -rw-r--r-- | elm/battlemap/src/Character.elm | 7 | 
1 files changed, 5 insertions, 2 deletions
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  | 


