Class ToxicEnemy

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

public final class ToxicEnemy extends Enemy
  • 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
    • hasDrawPriority

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

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

      public void update(float deltaTime)
      Overrides:
      update in class Enemy