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