summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2017-10-17 11:04:55 +0200
committernsensfel <SpamShield0@noot-noot.org>2017-10-17 11:04:55 +0200
commitd0dc7f665ba90d126e41048b2d7b992c3e804163 (patch)
tree27c15b30b881a4320458487e1b9e6f0d14797323 /elm/battlemap/src/Shim/Battlemap/Tile.elm
parent5a75000ec7b961ad5fe93814e5b7905cacbdba49 (diff)
Separates Navigator from Tiles.
Diffstat (limited to 'elm/battlemap/src/Shim/Battlemap/Tile.elm')
-rw-r--r--elm/battlemap/src/Shim/Battlemap/Tile.elm9
1 files changed, 2 insertions, 7 deletions
diff --git a/elm/battlemap/src/Shim/Battlemap/Tile.elm b/elm/battlemap/src/Shim/Battlemap/Tile.elm
index 4f5b40b..2335d3d 100644
--- a/elm/battlemap/src/Shim/Battlemap/Tile.elm
+++ b/elm/battlemap/src/Shim/Battlemap/Tile.elm
@@ -23,20 +23,15 @@ from_int map_width index i =
{
location = location,
floor_level = (i - 10),
- nav_level = Battlemap.Direction.None,
- char_level = (Just (toString (i - 10))),
- mod_level = Nothing
+ char_level = (Just (toString (i - 10)))
}
else
{
location = location,
floor_level = i,
- nav_level = Battlemap.Direction.None,
- char_level = Nothing,
- mod_level = Nothing
+ char_level = Nothing
}
-
generate : Int -> (Array.Array Battlemap.Tile.Type)
generate map_width =
let