Add PathEdge data to pathfinding graph
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ generateLevelFromRoomList gr' w = initWallZoning
|
||||
, _pathGraphP = pairPath
|
||||
}
|
||||
where
|
||||
path = pairsToGraph dist 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