diff options
| -rw-r--r-- | asciifarm/client/display/screen.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/asciifarm/client/display/screen.py b/asciifarm/client/display/screen.py index 605eca5..7b609c4 100644 --- a/asciifarm/client/display/screen.py +++ b/asciifarm/client/display/screen.py @@ -35,10 +35,12 @@ class Screen: sideW = 20 sideX = width-sideW + msgH = clamp(height // 5, 3, 5) msgY = height - msgH-1 inputH = 1 inputY = msgY + msgH + healthY = 0 healthH = self._limitHeight(2, healthY) groundY = healthY + healthH @@ -54,6 +56,7 @@ class Screen: "field": self.makeWin(0, 0, sideX - 1, msgY), "msg": self.makeWin(0, msgY, sideX - 1, msgH), "textinput": self.makeWin(0, inputY, sideX - 1, inputH), + "health": self.makeWin(sideX, healthY, sideW, healthH), "ground": self.makeWin(sideX, groundY, sideW, groundH), "inventory": self.makeWin(sideX, invY, sideW, invH), |
