UpgradeTemplate

public class UpgradeTemplate extends Template<Upgrade>

Constructors

UpgradeTemplate

public UpgradeTemplate(int ID)

Methods

addAffectedUnit

public void addAffectedUnit(Integer templateID)

deepEquals

public boolean deepEquals(Object other)

deprecateOldView

public void deprecateOldView()

getAffectedUnits

public List<Integer> getAffectedUnits()

getArmorChange

public int getArmorChange()

getBasicAttackChange

public int getBasicAttackChange()

getHealthChange

public int getHealthChange()

getPiercingAttackChange

public int getPiercingAttackChange()

getRangeChange

public int getRangeChange()

getSightRangeChange

public int getSightRangeChange()

getView

public UpgradeTemplateView getView()

produceInstance

public Upgrade produceInstance(IDDistributer idsource)

setArmorChange

public void setArmorChange(int armorChange)

setBasicAttackChange

public void setBasicAttackChange(int basicAttackChange)

setHealthChange

public void setHealthChange(int healthChange)

setPiercingAttackChange

public void setPiercingAttackChange(int piercingAttackchange)

setRangeChange

public void setRangeChange(int rangeChange)

setSightRangeChange

public void setSightRangeChange(int sightRangeChange)