Broken commit (removed loadKeyConfig)

This commit is contained in:
2021-08-27 11:58:11 +01:00
parent c4df048d31
commit 3ff04576ab
25 changed files with 122 additions and 200 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ import Geometry
--import Data.List
import Control.Monad.State
--import Control.Lens
import System.Random
--import System.Random
{- | A triangular room with loot at the top (with 'PutID' 2),
creatures in the bottom two corners (with 'PutID' 0),
and (single) entrance bottom middle. -}
@@ -50,7 +50,7 @@ triLootRoom w h = pure $ defaultRoom
]
base = rectNSWE 20 (-80) (-20) 20
{- | Create a random room with one entrance containing given creatures and items. -}
lootRoom :: RandomGen g => [Creature] -> [Item] -> State g Room
lootRoom :: [Creature] -> [Item] -> State g Room
lootRoom crs itms = do
let w = 300
h = 700