More strictifiiiying
This commit is contained in:
@@ -28,13 +28,13 @@ telRoomLev i = do
|
||||
w <- state $ randomR (200,300)
|
||||
h <- state $ randomR (200,300)
|
||||
return $ roomRectAutoLinks w h & rmPS .~
|
||||
[ sPS (w/2,h/2) 0 $ PutPressPlate telPP
|
||||
, sPS (w/2,h/2+ 30) 0 putLamp
|
||||
[ sPS (V2 (w/2) (h/2)) 0 $ PutPressPlate telPP
|
||||
, sPS (V2 (w/2) (h/2+ 30)) 0 putLamp
|
||||
]
|
||||
where
|
||||
telPP = PressPlate
|
||||
{ _ppPict = setDepth 0.5 . color red $ polygon ppFootprint
|
||||
, _ppPos = (0,0)
|
||||
, _ppPos = (V2 0 0)
|
||||
, _ppRot = 0
|
||||
, _ppEvent = levelReset
|
||||
, _ppID = 0
|
||||
|
||||
Reference in New Issue
Block a user