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

public abstract static class Tower.Factory<T extends Tower> extends Object
  • Field Details

    • roundedSmallRectTextureRegion

      public com.badlogic.gdx.graphics.g2d.TextureRegion roundedSmallRectTextureRegion
    • weaponShadowTexture

      public TextureRegionConfig weaponShadowTexture
  • Method Details

    • getBuildHotKey

      public abstract int getBuildHotKey()
    • isAvailable

      public boolean isAvailable(GameValueProvider gvp)
    • getAbilityTextures

      public final com.badlogic.gdx.utils.Array<TextureRegionConfig> getAbilityTextures(int abilityIdx)
    • getShadowTextures

      public final com.badlogic.gdx.utils.Array<TextureRegionConfig> getShadowTextures()
    • getBaseTextures

      public final com.badlogic.gdx.utils.Array<TextureRegionConfig> getBaseTextures()
    • setup

      public void setup()
      Вызывается, когда объекты всех Managers созданы
    • getAbilityNames

      public final String[] getAbilityNames()
      Returns:
      String[3] с алиасами ability
    • getAbilityConfigs

      public Tower.AbilityConfig[] getAbilityConfigs(GameSystemProvider S, Tower tower)
    • setupAssets

      public void setupAssets()
    • clearPool

      public void clearPool()
    • create

      public abstract T create()
    • getColor

      public abstract com.badlogic.gdx.graphics.Color getColor()
    • getTitle

      public String getTitle()
    • getDescription

      public String getDescription()
    • getBuildPrice

      public int getBuildPrice(GameSystemProvider S)
    • canKillEnemies

      public boolean canKillEnemies()
    • receivesSpaceTileBonus

      public boolean receivesSpaceTileBonus(SpaceTileBonusType bonusType)
    • getGeneralizedStat

      public abstract int getGeneralizedStat(GeneralizedTowerStatType statType)
    • createIconActor

      public com.badlogic.gdx.scenes.scene2d.Actor createIconActor(float size)
    • getIconTexture

      public com.badlogic.gdx.graphics.g2d.TextureRegion getIconTexture()