summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-02-18 21:47:56 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2019-02-18 21:47:56 +0100
commit265bdd2efca3ea4e94087bee2f55d05527beb2f0 (patch)
tree8455880960d674277cb3548fca1c5bc1ec71e856 /src/map-editor
parentd39e0230fc26cc1e32d4b2be33fa5f79618f6b11 (diff)
...
Diffstat (limited to 'src/map-editor')
-rw-r--r--src/map-editor/src/Comm/SetMap.elm3
-rw-r--r--src/map-editor/src/Struct/Map.elm6
2 files changed, 5 insertions, 4 deletions
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)
}
--------------------------------------------------------------------------------