use of eidolons.client.cc.gui.neo.bars.SpecialValueBar in project Eidolons by IDemiurge.
the class HeroPanel method init.
private void init() {
xpBar = new SpecialValueBar(false, PARAMS.XP);
xpBar.setObj(hero);
integrityBar = new SpecialValueBar(true, PARAMS.INTEGRITY);
integrityBar.setObj(hero);
values = new ValueIconPanel(hero);
infoPanel = new DC_PagedInfoPanel(hero);
buffPanel = new DC_PagedBuffPanel();
buffPanel.setObj(hero);
itemPanel = new DC_ItemPanel(hero.getGame(), true);
itemPanel.setObj(hero);
lowerPanel = new DC_PagedInfoPanel(hero);
header = new HeroHeader(hero, this);
comps = new G_Component[] { header, values, buffPanel, infoPanel, lowerPanel };
}
use of eidolons.client.cc.gui.neo.bars.SpecialValueBar in project Eidolons by IDemiurge.
the class PrincipleMiddlePanel method init.
public void init() {
add(new GraphicComponent(STD_IMAGES.GUARDIAN), "@pos 0 max_bottom");
add(new GraphicComponent(ImageTransformer.flipHorizontally(ImageManager.getBufferedImage(STD_IMAGES.GUARDIAN.getImage()))), "@pos max_right max_bottom");
integrityBar = new SpecialValueBar(false, PARAMS.INTEGRITY);
integrityBar.setObj(hero);
rpgDescription = new TextCompDC(null, "", 18, FONT.AVQ);
bonusTextComp = new WrappedTextComp(null, false);
bonusTextComp.setPanelSize(new Dimension(250, 170));
add(integrityBar, "@id bar, pos center_x 0");
add(bonusTextComp, "@id text, pos center_x rpg.y2");
}
Aggregations