Move GenWorld fields into World
This commit is contained in:
@@ -21,8 +21,9 @@ import System.Random
|
||||
worldToGenWorld :: IM.IntMap Room -> World -> GenWorld
|
||||
worldToGenWorld rms w = GenWorld
|
||||
{ _gWorld = w & genParams .~ gparams
|
||||
, _gPlacements = IM.empty
|
||||
, _gRooms = rms
|
||||
& genRooms .~ rms
|
||||
-- , _gPlacements = IM.empty
|
||||
-- , _gRooms = rms
|
||||
}
|
||||
where
|
||||
gparams = evalState generateGenParams (_randGen w)
|
||||
|
||||
Reference in New Issue
Block a user