From 265bdd2efca3ea4e94087bee2f55d05527beb2f0 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Mon, 18 Feb 2019 21:47:56 +0100 Subject: ... --- src/map-editor/src/Comm/SetMap.elm | 3 ++- src/map-editor/src/Struct/Map.elm | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/map-editor') diff --git a/src/map-editor/src/Comm/SetMap.elm b/src/map-editor/src/Comm/SetMap.elm index e43edde..5fceea5 100644 --- a/src/map-editor/src/Comm/SetMap.elm +++ b/src/map-editor/src/Comm/SetMap.elm @@ -17,7 +17,8 @@ type alias MapData = { w : Int, h : Int, - t : (List (List String)) + t : (List (List String)), + m : (Dict.Dict String (List Struct.Location.Type)) } -------------------------------------------------------------------------------- diff --git a/src/map-editor/src/Struct/Map.elm b/src/map-editor/src/Struct/Map.elm index a00bba2..f0f0e5b 100644 --- a/src/map-editor/src/Struct/Map.elm +++ b/src/map-editor/src/Struct/Map.elm @@ -25,9 +25,9 @@ import Struct.Location -------------------------------------------------------------------------------- type alias Type = { - width: Int, - height: Int, - content: (Array.Array Struct.Tile.Instance) + width : Int, + height : Int, + content : (Array.Array Struct.Tile.Instance) } -------------------------------------------------------------------------------- -- cgit v1.2.3-70-g09d2