Update HealthBar.java

added documentation