Package com.prineside.tdi2
Class Tower.Factory<T extends Tower>
java.lang.Object
com.prineside.tdi2.Tower.Factory<T>
- Direct Known Subclasses:
AirTower.AirTowerFactory,BasicTower.BasicTowerFactory,BlastTower.BlastTowerFactory,CannonTower.CannonTowerFactory,CrusherTower.CrusherTowerFactory,FlamethrowerTower.FlamethrowerTowerFactory,FreezingTower.FreezingTowerFactory,GaussTower.GaussTowerFactory,LaserTower.LaserTowerFactory,MinigunTower.MinigunTowerFactory,MissileTower.MissileTowerFactory,MultishotTower.MultishotTowerFactory,SniperTower.SniperTowerFactory,SplashTower.SplashTowerFactory,TeslaTower.TeslaTowerFactory,VenomTower.VenomTowerFactory
- Enclosing class:
- Tower
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.badlogic.gdx.graphics.g2d.TextureRegion -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidabstract Tcreate()com.badlogic.gdx.scenes.scene2d.ActorcreateIconActor(float size) getAbilityConfigs(GameSystemProvider S, Tower tower) final String[]final com.badlogic.gdx.utils.Array<TextureRegionConfig>getAbilityTextures(int abilityIdx) final com.badlogic.gdx.utils.Array<TextureRegionConfig>abstract intintabstract com.badlogic.gdx.graphics.ColorgetColor()abstract intgetGeneralizedStat(GeneralizedTowerStatType statType) com.badlogic.gdx.graphics.g2d.TextureRegionfinal com.badlogic.gdx.utils.Array<TextureRegionConfig>getTitle()booleanbooleanreceivesSpaceTileBonus(SpaceTileBonusType bonusType) voidsetup()Вызывается, когда объекты всех Managers созданыvoid
-
Field Details
-
roundedSmallRectTextureRegion
public com.badlogic.gdx.graphics.g2d.TextureRegion roundedSmallRectTextureRegion -
weaponShadowTexture
-
-
Method Details
-
getBuildHotKey
public abstract int getBuildHotKey() -
isAvailable
-
getAbilityTextures
-
getShadowTextures
-
getBaseTextures
-
setup
public void setup()Вызывается, когда объекты всех Managers созданы -
getAbilityNames
- Returns:
- String[3] с алиасами ability
-
getAbilityConfigs
-
setupAssets
public void setupAssets() -
clearPool
public void clearPool() -
create
-
getColor
public abstract com.badlogic.gdx.graphics.Color getColor() -
getTitle
-
getDescription
-
getBuildPrice
-
canKillEnemies
public boolean canKillEnemies() -
receivesSpaceTileBonus
-
getGeneralizedStat
-
createIconActor
public com.badlogic.gdx.scenes.scene2d.Actor createIconActor(float size) -
getIconTexture
public com.badlogic.gdx.graphics.g2d.TextureRegion getIconTexture()
-