Class IcyEnemy

All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable, ScheduledUpdater.Updatable

public final class IcyEnemy extends Enemy
  • Field Details

    • shieldHealth

      public float shieldHealth
    • shieldMaxHealth

      public float shieldMaxHealth
  • 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 Enemy
    • 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 Enemy
    • getBuffVulnerability

      public float getBuffVulnerability(BuffType buff)
      Overrides:
      getBuffVulnerability in class Enemy
    • setMaxHealth

      public void setMaxHealth(float health)
      Overrides:
      setMaxHealth in class Enemy
    • getBaseDamage

      public float getBaseDamage()
      Overrides:
      getBaseDamage in class Enemy
    • giveDamage

      public float giveDamage(Tower tower, float damage, DamageType damageType)
      Description copied from class: Enemy
      Вызывать только через enemySystem
      Overrides:
      giveDamage in class Enemy
    • drawHealth

      public void drawHealth(com.badlogic.gdx.graphics.g2d.Batch batch)
      Overrides:
      drawHealth in class Enemy
    • hasDrawPriority

      public boolean hasDrawPriority()
      Specified by:
      hasDrawPriority in class Enemy