Class CrusherTower

All Implemented Interfaces:
KryoSerializable

public final class CrusherTower extends Tower
  • Field Details

    • ABILITY_ALIASES

      public static final String[] ABILITY_ALIASES
  • Method Details

    • write

      public void write(Kryo kryo, Output output)
      Specified by:
      write in interface KryoSerializable
      Overrides:
      write in class Tower
    • read

      public void read(Kryo kryo, Input input)
      Specified by:
      read in interface KryoSerializable
      Overrides:
      read in class Tower
    • getWeaponTextures

      public Quad getWeaponTextures()
      Specified by:
      getWeaponTextures in class Tower
    • applyDrawInterpolation

      public void applyDrawInterpolation(float interpolatedTime)
      Overrides:
      applyDrawInterpolation in class Tower
    • drawWeapon

      public void drawWeapon(Batch batch, float x, float y, float size, float deltaTime)
      Overrides:
      drawWeapon in class Tower
    • drawBatchAdditive

      public void drawBatchAdditive(Batch batch, float deltaTime)
      Overrides:
      drawBatchAdditive in class Tower
    • canAim

      public boolean canAim()
      Specified by:
      canAim in class Tower
    • shouldSearchForTarget

      public boolean shouldSearchForTarget()
      Overrides:
      shouldSearchForTarget in class Tower
    • canAttack

      public boolean canAttack()
      Overrides:
      canAttack in class Tower
    • calculateStat

      public float calculateStat(TowerStatType towerStatType)
    • updateCache

      public void updateCache()
      Description copied from class: Tower
      Обновляет кэш текущих характеристик башни Так как характеристики обновляются, одновременно обновляется массив тайлов в радиусе поражения
      Overrides:
      updateCache in class Tower
    • drawBatch

      public void drawBatch(Batch batch, float deltaTime)
      Overrides:
      drawBatch in class Tower
    • onPreSell

      public void onPreSell()
      Overrides:
      onPreSell in class Tower
    • update

      public void update(float deltaTime)
      Overrides:
      update in class Tower
    • getDisorientedUnitCoinPerTile

      public float getDisorientedUnitCoinPerTile()
    • getDisorientationChance

      public float getDisorientationChance()