Class FreezingTower

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, com.esotericsoftware.kryo.KryoSerializable, ScheduledUpdater.Updatable

public final class FreezingTower extends Tower
  • Field Details

    • SPECIAL_ABILITY_RANGE

      public static final float SPECIAL_ABILITY_RANGE
      See Also:
    • MONITORED_TARGET_FREEZING_BONUS

      public static final float MONITORED_TARGET_FREEZING_BONUS
      See Also:
    • ABILITY_COLD_EVAPORATION

      public static final int ABILITY_COLD_EVAPORATION
      See Also:
    • ABILITY_SLOW_FREEZING

      public static final int ABILITY_SLOW_FREEZING
      See Also:
    • ABILITY_MONITORING_SYSTEM

      public static final int ABILITY_MONITORING_SYSTEM
      See Also:
    • ABILITY_ALIASES

      public static final String[] ABILITY_ALIASES
    • GAIN_EXP_COEFF

      public static final float GAIN_EXP_COEFF
      See Also:
    • SNOWBALL_ACCUMULATION_TIME

      public static final float SNOWBALL_ACCUMULATION_TIME
      See Also:
  • Method Details

    • write

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

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

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

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

      public float calculateStat(TowerStatType towerStatType)
    • updateCache

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

      public void removedFromMap()
      Overrides:
      removedFromMap in class Tower
    • getScheduledUpdateInterval

      public float getScheduledUpdateInterval()
      Overrides:
      getScheduledUpdateInterval in class Tower
    • scheduledUpdate

      public void scheduledUpdate(float deltaTime)
      Specified by:
      scheduledUpdate in interface ScheduledUpdater.Updatable
      Overrides:
      scheduledUpdate in class Tower
    • update

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

      public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime)
      Overrides:
      drawBatch in class Tower