Package com.prineside.tdi2.towers
Class FreezingTower.FreezingTowerFactory
java.lang.Object
com.prineside.tdi2.Tower.Factory<FreezingTower>
com.prineside.tdi2.towers.FreezingTower.FreezingTowerFactory
- Enclosing class:
- FreezingTower
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.badlogic.gdx.graphics.g2d.TextureRegion
Fields inherited from class com.prineside.tdi2.Tower.Factory
abilityConfigs, abilityTextures, baseTextures, roundedSmallRectTextureRegion, shadowTextures, weaponShadowTexture, weaponTexture
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
create()
String[]
getAbilityConfigs
(GameSystemProvider S, Tower tower) int
com.badlogic.gdx.graphics.Color
getColor()
int
getGeneralizedStat
(GeneralizedTowerStatType statType) void
setup()
Вызывается, когда объекты всех Managers созданыvoid
boolean
shouldDrawAbilityToCache
(int abilityIdx) Methods inherited from class com.prineside.tdi2.Tower.Factory
configureSystems, createIconActor, getAbilityTextures, getBaseTextures, getBuildPrice, getDescription, getIconDrawable, getIconTexture, getShadowTextures, getStatMoreInfo, getTitle, getWeaponShadowTexture, getWeaponTexture, isAvailable, receivesSpaceTileBonus
-
Field Details
-
monitoringTraceTexture
public com.badlogic.gdx.graphics.g2d.TextureRegion monitoringTraceTexture
-
-
Constructor Details
-
FreezingTowerFactory
public FreezingTowerFactory()
-
-
Method Details
-
setup
public void setup()Description copied from class:Tower.Factory
Вызывается, когда объекты всех Managers созданы- Overrides:
setup
in classTower.Factory<FreezingTower>
-
clearPool
public void clearPool()- Overrides:
clearPool
in classTower.Factory<FreezingTower>
-
getGeneralizedStat
- Specified by:
getGeneralizedStat
in classTower.Factory<FreezingTower>
-
getAbilityConfigs
- Overrides:
getAbilityConfigs
in classTower.Factory<FreezingTower>
-
shouldDrawAbilityToCache
public boolean shouldDrawAbilityToCache(int abilityIdx) - Overrides:
shouldDrawAbilityToCache
in classTower.Factory<FreezingTower>
-
canKillEnemies
public boolean canKillEnemies()- Overrides:
canKillEnemies
in classTower.Factory<FreezingTower>
-
getBuildHotKey
public int getBuildHotKey()- Specified by:
getBuildHotKey
in classTower.Factory<FreezingTower>
-
getColor
public com.badlogic.gdx.graphics.Color getColor()- Specified by:
getColor
in classTower.Factory<FreezingTower>
-
setupAssets
public void setupAssets()- Overrides:
setupAssets
in classTower.Factory<FreezingTower>
-
getAbilityAliases
- Specified by:
getAbilityAliases
in classTower.Factory<FreezingTower>
-
create
- Specified by:
create
in classTower.Factory<FreezingTower>
-