From d0dc7f665ba90d126e41048b2d7b992c3e804163 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Tue, 17 Oct 2017 11:04:55 +0200 Subject: Separates Navigator from Tiles. --- elm/battlemap/src/Shim/Battlemap/Tile.elm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'elm/battlemap/src/Shim/Battlemap/Tile.elm') 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 -- cgit v1.2.3-70-g09d2