summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2017-10-17 11:04:55 +0200 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2017-10-17 11:04:55 +0200 |
commit | d0dc7f665ba90d126e41048b2d7b992c3e804163 (patch) | |
tree | 27c15b30b881a4320458487e1b9e6f0d14797323 /elm/battlemap/src/Shim | |
parent | 5a75000ec7b961ad5fe93814e5b7905cacbdba49 (diff) |
Separates Navigator from Tiles.
Diffstat (limited to 'elm/battlemap/src/Shim')
-rw-r--r-- | elm/battlemap/src/Shim/Battlemap/Tile.elm | 9 |
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 |