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