diff options
| author | troido <troido@protonmail.com> | 2019-09-25 18:49:25 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2019-09-25 18:49:25 +0200 |
| commit | 207e51fc5b308d5ef967967ba2eec61a30a80057 (patch) | |
| tree | 578e480f876d8f019767344b1e024b3147772fb9 /asciifarm/client/display.py | |
| parent | 7e472308a5ee127aab78fe6325dbce3d055fbcdc (diff) | |
healthbar doesn't have title anymore; made this with textbox
Diffstat (limited to 'asciifarm/client/display.py')
| -rw-r--r-- | asciifarm/client/display.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/asciifarm/client/display.py b/asciifarm/client/display.py index a2c142e..fbcd34a 100644 --- a/asciifarm/client/display.py +++ b/asciifarm/client/display.py @@ -105,6 +105,7 @@ class Display: maxHealth = 0 self.getWidget("health").set_total(maxHealth) self.getWidget("health").set_filled(health) + self.getWidget("healthtitle").format({"filled": health, "total":maxHealth}) def showInfo(self, infostring): |
