Cleanup
This commit is contained in:
@@ -361,10 +361,9 @@ openCursorAt wth col xoff yoff yint w =
|
||||
|
||||
displayHP :: Int -> Configuration -> World -> Picture
|
||||
displayHP cid cfig =
|
||||
translate (halfWidth cfig -80) (halfHeight cfig -20)
|
||||
translate (halfWidth cfig) (halfHeight cfig -40)
|
||||
. scale 0.2 0.2
|
||||
. text
|
||||
. leftPad 5 ' '
|
||||
. textJustifyRight
|
||||
. show
|
||||
. (^?! cWorld . lWorld . creatures . ix cid . crHP)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user