Package com.prineside.tdi2.towers
Class GaussTower.GaussTowerFactory
- All Implemented Interfaces:
EntityFactory
- Enclosing class:
- GaussTower
-
Field Summary
Fields inherited from class com.prineside.tdi2.Tower.Factory
roundedSmallRectTextureRegion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called on GSP construction, allows to add tower-specific listenerscreate()
String[]
getAbilityConfigs
(GameSystemProvider S, Tower tower) int
getColor()
int
getGeneralizedStat
(GeneralizedTowerStatType statType) getStatMoreInfo
(TowerStatType statType, GameValueProvider gvp, Tower tower) void
setup()
Вызывается, когда объекты всех Managers созданыvoid
boolean
shouldDrawAbilityToCache
(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
-
Constructor Details
-
GaussTowerFactory
public GaussTowerFactory()
-
-
Method Details
-
setup
public void setup()Description copied from class:Tower.Factory
Вызывается, когда объекты всех Managers созданы- Overrides:
setup
in classTower.Factory<GaussTower>
-
getStatMoreInfo
@Null public CharSequence getStatMoreInfo(TowerStatType statType, GameValueProvider gvp, Tower tower) - Overrides:
getStatMoreInfo
in classTower.Factory<GaussTower>
-
configureSystems
Description copied from class:Tower.Factory
Called on GSP construction, allows to add tower-specific listeners- Overrides:
configureSystems
in classTower.Factory<GaussTower>
-
getAbilityConfigs
- Overrides:
getAbilityConfigs
in classTower.Factory<GaussTower>
-
shouldDrawAbilityToCache
public boolean shouldDrawAbilityToCache(int abilityIdx) - Overrides:
shouldDrawAbilityToCache
in classTower.Factory<GaussTower>
-
setupAssets
public void setupAssets()- Overrides:
setupAssets
in classTower.Factory<GaussTower>
-
getColor
- Specified by:
getColor
in classTower.Factory<GaussTower>
-
getGeneralizedStat
- Specified by:
getGeneralizedStat
in classTower.Factory<GaussTower>
-
getAbilityAliases
- Specified by:
getAbilityAliases
in classTower.Factory<GaussTower>
-
getBuildHotKey
public int getBuildHotKey()- Specified by:
getBuildHotKey
in classTower.Factory<GaussTower>
-
create
- Specified by:
create
in classTower.Factory<GaussTower>
-