Inline functions in Dodge.Zone
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ generateLevelFromRoomList gr' w = initWallZoning
|
||||
& peZoning %~ (\zn -> foldl' (flip $ updateZoning (:)) (zn & znObjects .~ mempty)
|
||||
(labEdges (_pgGraph path)))
|
||||
where
|
||||
path = pairsToGraph'' pairPath
|
||||
path = pairsToGraph pairPath
|
||||
pairPath = foldMap _rmPath rs
|
||||
rs = map doRoomShift $ IM.elems rs'
|
||||
rs'= mapM shuffleRoomPos gr' & evalState $ _randGen w
|
||||
|
||||
Reference in New Issue
Block a user