use of eidolons.libgdx.gui.panels.dc.unitinfo.datasource.ArmorDataSource in project Eidolons by IDemiurge.
the class ArmorPanel method updateAct.
@Override
public void updateAct(float delta) {
clear();
final ArmorDataSource source = (ArmorDataSource) getUserObject();
addElement(source.getArmorObj()).center().fill(false);
row();
for (ValueContainer valueContainer : source.getParamValues()) {
valueContainer.setBorder(getOrCreateR("UI/components/infopanel/simple_value_border.png"));
addElement(valueContainer);
row();
}
}
Aggregations