Class FlamethrowerTower

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

public final class FlamethrowerTower extends Tower
  • Field Details

    • ABILITY_ALIASES

      public static final String[] ABILITY_ALIASES
  • 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
    • getAttackDelay

      public float getAttackDelay()
      Overrides:
      getAttackDelay 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
    • getScheduledUpdateInterval

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

      public void setAimStrategy(Tower.AimStrategy aimStrategy)
      Overrides:
      setAimStrategy 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
    • removedFromMap

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

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