Class TeslaTower

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

public final class TeslaTower extends Tower
  • Field Details

    • SPECIAL_ABILITY_RANGE

      public static final float SPECIAL_ABILITY_RANGE
      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
    • attack

      public void attack(int shotsCount)
      Overrides:
      attack in class Tower
    • calculateStat

      public float calculateStat(TowerStatType towerStatType)
    • 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