Prettify saved config
This commit is contained in:
@@ -122,9 +122,10 @@ crDisplayInfo cfig w cr
|
||||
|
||||
drawCrInfo :: Configuration -> World -> Picture
|
||||
drawCrInfo cfig w
|
||||
= setLayer FixedCoordLayer
|
||||
$ renderInfoListsAt (2*hw - 200) 0 cfig w
|
||||
$ mapMaybe (crDisplayInfo cfig w) $ IM.elems $ _creatures w
|
||||
-- | _debug_cr_awareness cfig = setLayer FixedCoordLayer
|
||||
-- $ renderInfoListsAt (2*hw - 200) 0 cfig w
|
||||
-- $ mapMaybe (crDisplayInfo cfig w) $ IM.elems $ _creatures w
|
||||
| otherwise = mempty
|
||||
where
|
||||
hw = halfWidth cfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user