Search in sources :

Example 1 with HealthBar

use of com.shatteredpixel.shatteredpixeldungeon.ui.HealthBar in project shattered-pixel-dungeon-gdx by 00-Evan.

the class IconTitle method createChildren.

@Override
protected void createChildren() {
    imIcon = new Image();
    add(imIcon);
    tfLabel = PixelScene.renderMultiline((int) FONT_SIZE);
    tfLabel.hardlight(Window.TITLE_COLOR);
    add(tfLabel);
    health = new HealthBar();
    add(health);
}
Also used : HealthBar(com.shatteredpixel.shatteredpixeldungeon.ui.HealthBar) Image(com.watabou.noosa.Image)

Aggregations

HealthBar (com.shatteredpixel.shatteredpixeldungeon.ui.HealthBar)1 Image (com.watabou.noosa.Image)1