v0.9.0: added a HP count to the main health bar

This commit is contained in:
Evan Debenham
2020-09-17 23:21:05 -04:00
parent c46576a175
commit 9e6a349f2a
2 changed files with 30 additions and 10 deletions

View File

@@ -209,8 +209,10 @@ public class BitmapText extends Visual {
}
public synchronized void text( String str ) {
text = str;
dirty = true;
if (str == null || !str.equals(text)) {
text = str;
dirty = true;
}
}
public static class Font extends TextureFilm {