Refactor, try to limit dependencies

This commit is contained in:
2022-07-28 00:59:56 +01:00
parent 8aa5c17ab9
commit 160560af5f
418 changed files with 15104 additions and 13342 deletions
+4 -5
View File
@@ -1,10 +1,8 @@
module Dodge.Wall.Zone
where
import Dodge.Zoning.Wall
import Dodge.Data
module Dodge.Wall.Zone where
--import qualified Data.IntSet as IS
import Control.Lens
import Dodge.Data.World
import Dodge.Zoning.Wall
-- need to verify that this not only inserts but also overwrites (updates) any
-- already existing walls
@@ -19,4 +17,5 @@ insertWallInZones wl = cWorld . wlZoning %~ zoneWall wl
deleteWallFromZones :: Wall -> World -> World
deleteWallFromZones wl = cWorld . wlZoning %~ deZoneWall wl
-- %~ flip (foldl' (flip $ \(a,b) updateeIMInZone a b (_wlID wl))) (zoneOfWall wl)