Package com.prineside.tdi2.towers
Class AirTower.AirTowerFactory
- All Implemented Interfaces:
EntityFactory
- Enclosing class:
- AirTower
-
Field Summary
Fields inherited from class com.prineside.tdi2.Tower.Factory
roundedSmallRectTextureRegion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled on GSP construction, allows to add tower-specific listenerscreate()String[]getAbilityConfigs(GameSystemProvider S, Tower tower) intgetColor()intgetGeneralizedStat(GeneralizedTowerStatType statType) getStatMoreInfo(TowerStatType statType, GameValueProvider gvp, Tower tower) voidsetup()Вызывается, когда объекты всех Managers созданыbooleanshouldDrawAbilityToCache(int abilityIdx) Methods inherited from class com.prineside.tdi2.Tower.Factory
canKillEnemies, createIconActor, getAbilityTextures, getBaseTextures, getBuildPrice, getDescription, getIconDrawable, getIconTexture, getShadowTextures, getTitle, getWeaponShadowTexture, getWeaponTexture, isAvailable, receivesSpaceTileBonus, setupAssets
-
Constructor Details
-
AirTowerFactory
public AirTowerFactory()
-
-
Method Details
-
setup
public void setup()Description copied from class:Tower.FactoryВызывается, когда объекты всех Managers созданы- Overrides:
setupin classTower.Factory<AirTower>
-
configureSystems
Description copied from class:Tower.FactoryCalled on GSP construction, allows to add tower-specific listeners- Overrides:
configureSystemsin classTower.Factory<AirTower>
-
getStatMoreInfo
@Null public CharSequence getStatMoreInfo(TowerStatType statType, GameValueProvider gvp, Tower tower) - Overrides:
getStatMoreInfoin classTower.Factory<AirTower>
-
getAbilityConfigs
- Overrides:
getAbilityConfigsin classTower.Factory<AirTower>
-
shouldDrawAbilityToCache
public boolean shouldDrawAbilityToCache(int abilityIdx) - Overrides:
shouldDrawAbilityToCachein classTower.Factory<AirTower>
-
getGeneralizedStat
- Specified by:
getGeneralizedStatin classTower.Factory<AirTower>
-
getBuildHotKey
public int getBuildHotKey()- Specified by:
getBuildHotKeyin classTower.Factory<AirTower>
-
getAbilityAliases
- Specified by:
getAbilityAliasesin classTower.Factory<AirTower>
-
getColor
- Specified by:
getColorin classTower.Factory<AirTower>
-
create
- Specified by:
createin classTower.Factory<AirTower>
-