Thread a more complex structure through the placement process

This commit is contained in:
2021-11-25 01:32:25 +00:00
parent 0e87f340b4
commit aad79bdf25
5 changed files with 63 additions and 50 deletions
+3
View File
@@ -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