Search in sources :

Example 1 with HealthBar

use of com.watabou.pixeldungeon.ui.HealthBar in project pixel-dungeon by watabou.

the class IconTitle method createChildren.

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

Aggregations

Image (com.watabou.noosa.Image)1 HealthBar (com.watabou.pixeldungeon.ui.HealthBar)1