Simplify Foreground
This commit is contained in:
@@ -29,7 +29,7 @@ worldSPic cfig u =
|
||||
-- <> foldup (shiftDraw _blPos _blDir (const $ drawBlock . _blDraw))
|
||||
<> foldup (shiftDraw _blPos _blDir (const $ noPic . _blDraw))
|
||||
(filtOn _blPos _blocks)
|
||||
<> foldup (shiftDraw _fsPos _fsDir (const _fsSPic)) (filtOn _fsPos _foreShapes)
|
||||
<> foldMap' (shiftDraw _fsPos _fsDir (const _fsSPic)) (filtOn' _fsPos _foreShapes)
|
||||
<> foldup (drawCreature (lw ^. items)) (filtOn (^. crPos . _xy) _creatures)
|
||||
<> foldup
|
||||
(Prelude.uncurry floorItemSPic)
|
||||
|
||||
Reference in New Issue
Block a user