Class SplashTower

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

public final class SplashTower extends Tower
  • Field Details

    • ABILITY_PENETRATING_BULLETS

      public static final int ABILITY_PENETRATING_BULLETS
      See Also:
    • ABILITY_FAST_MECHANISM

      public static final int ABILITY_FAST_MECHANISM
      See Also:
    • ABILITY_FAST_BULLETS

      public static final int ABILITY_FAST_BULLETS
      See Also:
    • 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
    • calculateStat

      public float calculateStat(TowerStatType towerStatType)
      Overrides:
      calculateStat in class Tower
    • updateCache

      public void updateCache()
      Description copied from class: Tower
      Обновляет кэш текущих характеристик башни Так как характеристики обновляются, одновременно обновляется массив тайлов в радиусе поражения
      Overrides:
      updateCache 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
    • drawWeapon

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

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

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

      public static void triggerChainReaction(GameSystemProvider S, SplashTower tower, SplashProjectile projectile)