Thread a more complex structure through the placement process
This commit is contained in:
@@ -7,9 +7,12 @@ import Dodge.Data
|
||||
|
||||
--import Data.Tree
|
||||
import qualified Data.IntMap.Strict as IM
|
||||
import Control.Lens
|
||||
--import System.Random
|
||||
|
||||
data GenWorld = GenWorld
|
||||
{ _gWorld :: World
|
||||
, _gPlacements :: IM.IntMap [Placement]
|
||||
}
|
||||
worldToGenWorld w = GenWorld w IM.empty
|
||||
makeLenses ''GenWorld
|
||||
|
||||
Reference in New Issue
Block a user