Start to remove explicit "outplacements"
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ doRoomInPlacements w rm = foldr f (w, rm) $ _rmInPmnt rm
|
||||
doOutPlacements :: GenWorld -> GenWorld
|
||||
doOutPlacements w =
|
||||
let ((pmnts, gw), rms) = mapAccumR doRoomOutPlacements (IM.empty, w) (_genRooms w)
|
||||
in gw & genRooms .~ rms & genPmnt .~ pmnts
|
||||
in gw & genRooms .~ rms & genPmnt <>~ pmnts
|
||||
|
||||
doRoomOutPlacements ::
|
||||
(IM.IntMap [Placement], GenWorld) ->
|
||||
|
||||
Reference in New Issue
Block a user