summaryrefslogtreecommitdiff
path: root/asciifarm/client/display.py
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2019-09-25 18:49:25 +0200
committertroido <troido@protonmail.com>2019-09-25 18:49:25 +0200
commit207e51fc5b308d5ef967967ba2eec61a30a80057 (patch)
tree578e480f876d8f019767344b1e024b3147772fb9 /asciifarm/client/display.py
parent7e472308a5ee127aab78fe6325dbce3d055fbcdc (diff)
healthbar doesn't have title anymore; made this with textbox
Diffstat (limited to 'asciifarm/client/display.py')
-rw-r--r--asciifarm/client/display.py1
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):