UpgradeTemplate.UpgradeTemplateView

public static class UpgradeTemplateView extends TemplateView

Constructors

UpgradeTemplateView

public UpgradeTemplateView(UpgradeTemplate template)

Methods

getAffectedUnitTypes

public List<Integer> getAffectedUnitTypes()

Get an unmodifyable list of IDs representing the unit templates that are affected by this upgrade

getArmorChange

public int getArmorChange()

Get the increase in armor caused by this upgrade

getBasicAttackChange

public int getBasicAttackChange()

Get the increase in basic (armor-reduced) attack caused by this upgrade

getHealthChange

public int getHealthChange()

Get the increase in health caused by this upgrade

getPiercingAttackChange

public int getPiercingAttackChange()

Get the increase in piercing (armor-bypassing) attack caused by this upgrade

getRangeChange

public int getRangeChange()

Get the increase in range caused by this upgrade

getSightRangeChange

public int getSightRangeChange()

Get the increase in sight range caused by this upgrade