Search in sources :

Example 1 with ValueIconPanel

use of eidolons.swing.components.panels.ValueIconPanel 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 };
}
Also used : DC_PagedInfoPanel(eidolons.swing.components.panels.page.info.DC_PagedInfoPanel) DC_PagedBuffPanel(eidolons.swing.components.panels.page.small.DC_PagedBuffPanel) DC_ItemPanel(eidolons.swing.components.panels.DC_ItemPanel) ValueIconPanel(eidolons.swing.components.panels.ValueIconPanel) SpecialValueBar(eidolons.client.cc.gui.neo.bars.SpecialValueBar) HeroHeader(eidolons.client.cc.gui.neo.header.HeroHeader)

Aggregations

SpecialValueBar (eidolons.client.cc.gui.neo.bars.SpecialValueBar)1 HeroHeader (eidolons.client.cc.gui.neo.header.HeroHeader)1 DC_ItemPanel (eidolons.swing.components.panels.DC_ItemPanel)1 ValueIconPanel (eidolons.swing.components.panels.ValueIconPanel)1 DC_PagedInfoPanel (eidolons.swing.components.panels.page.info.DC_PagedInfoPanel)1 DC_PagedBuffPanel (eidolons.swing.components.panels.page.small.DC_PagedBuffPanel)1