| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-10-18 20:59:41 +0200 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2017-10-18 20:59:41 +0200 | 
| commit | 96d7905f7faef941f5454fd2c8b0b50a294fd26c (patch) | |
| tree | 77377c56ed005fc56dcaad506f0f12bb598fef66 /elm/battlemap/src/Battlemap/Tile.elm | |
| parent | 2805c647010cbcca126ebf162fcbdd691fc72488 (diff) | |
Borked mouse controls for the navigator, it seems.
Diffstat (limited to 'elm/battlemap/src/Battlemap/Tile.elm')
| -rw-r--r-- | elm/battlemap/src/Battlemap/Tile.elm | 14 | 
1 files changed, 9 insertions, 5 deletions
| diff --git a/elm/battlemap/src/Battlemap/Tile.elm b/elm/battlemap/src/Battlemap/Tile.elm index 828fb67..255310a 100644 --- a/elm/battlemap/src/Battlemap/Tile.elm +++ b/elm/battlemap/src/Battlemap/Tile.elm @@ -1,7 +1,8 @@  module Battlemap.Tile exposing     (        Type, -      get_class, +      get_location, +      get_icon_id,        get_cost     ) @@ -9,13 +10,16 @@ import Battlemap.Location  type alias Type =     { -      location : Battlemap.Location.Ref, -      class : Int, +      location : Battlemap.Location.Type, +      icon_id : String,        crossing_cost : Int     } -get_class : Type -> Int -get_class tile = tile.class +get_location : Type -> Battlemap.Location.Type +get_location tile = tile.location + +get_icon_id : Type -> String +get_icon_id tile = tile.icon_id  get_cost : Type -> Int  get_cost tile = tile.crossing_cost | 


