Package com.prineside.tdi2.towers
Class BasicTower.BasicTowerFactory
- Enclosing class:
- BasicTower
-
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) int
com.badlogic.gdx.graphics.Color
getColor()
int
getGeneralizedStat
(GeneralizedTowerStatType statType) void
setup()
Вызывается, когда объекты всех Managers созданыboolean
shouldDrawAbilityToCache
(int abilityIdx) Methods inherited from class com.prineside.tdi2.Tower.Factory
canKillEnemies, clearPool, configureSystems, createIconActor, getAbilityTextures, getBaseTextures, getBuildPrice, getDescription, getIconDrawable, getIconTexture, getShadowTextures, getStatMoreInfo, getTitle, getWeaponShadowTexture, getWeaponTexture, isAvailable, receivesSpaceTileBonus, setupAssets
-
Constructor Details
-
BasicTowerFactory
public BasicTowerFactory()
-
-
Method Details
-
setup
public void setup()Description copied from class:Tower.Factory
Вызывается, когда объекты всех Managers созданы- Overrides:
setup
in classTower.Factory<BasicTower>
-
getAbilityAliases
- Specified by:
getAbilityAliases
in classTower.Factory<BasicTower>
-
getAbilityConfigs
- Overrides:
getAbilityConfigs
in classTower.Factory<BasicTower>
-
shouldDrawAbilityToCache
public boolean shouldDrawAbilityToCache(int abilityIdx) - Overrides:
shouldDrawAbilityToCache
in classTower.Factory<BasicTower>
-
getColor
public com.badlogic.gdx.graphics.Color getColor()- Specified by:
getColor
in classTower.Factory<BasicTower>
-
getGeneralizedStat
- Specified by:
getGeneralizedStat
in classTower.Factory<BasicTower>
-
getBuildHotKey
public int getBuildHotKey()- Specified by:
getBuildHotKey
in classTower.Factory<BasicTower>
-
create
- Specified by:
create
in classTower.Factory<BasicTower>
-