Class MissileTower

All Implemented Interfaces:
KryoSerializable

public final class MissileTower extends Tower
  • Field Details

    • ABILITY_ALIASES

      public static final String[] ABILITY_ALIASES
  • Method Details

    • write

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

      public void read(Kryo kryo, Input input)
      Specified by:
      read in interface KryoSerializable
      Overrides:
      read in class Tower
    • setUnregistered

      public void setUnregistered()
      Description copied from class: Registrable
      Remove the reference to the game state and mark this object as not registered.
      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
    • shouldSearchForTarget

      public boolean shouldSearchForTarget()
      Overrides:
      shouldSearchForTarget 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(Batch batch, float x, float y, float size, float deltaTime)
      Overrides:
      drawWeapon in class Tower
    • update

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

      public void drawBatch(Batch batch, float deltaTime)
      Overrides:
      drawBatch in class Tower