Class MissileTower

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

public final class MissileTower 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
    • setUnregistered

      public void setUnregistered()
      Overrides:
      setUnregistered in class Tower
    • getWeaponTextures

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

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

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

      public boolean canAttackEnemy(Enemy enemy)
      Overrides:
      canAttackEnemy in class Tower
    • attack

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

      public float calculateStat(TowerStatType towerStatType)
    • drawWeapon

      public void drawWeapon(com.badlogic.gdx.graphics.g2d.Batch batch, float x, float y, float size, float deltaTime)
      Overrides:
      drawWeapon 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