Class MetaphorBossCreepEnemy

java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Enemy
com.prineside.tdi2.enemies.bosses.MetaphorBossCreepEnemy
All Implemented Interfaces:
com.badlogic.gdx.utils.Pool.Poolable, com.esotericsoftware.kryo.KryoSerializable, ScheduledUpdater.Updatable

public final class MetaphorBossCreepEnemy 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
    • reset

      public void reset()
      Description copied from interface: com.badlogic.gdx.utils.Pool.Poolable
      Resets the object for reuse. Object references should be nulled and fields may be set to default values.
      Specified by:
      reset in interface com.badlogic.gdx.utils.Pool.Poolable
      Overrides:
      reset in class Enemy
    • setKind

      public void setKind(MetaphorBossCreepEnemy.Kind kind)
    • getKind

      public MetaphorBossCreepEnemy.Kind getKind()
    • getSize

      public float getSize()
      Description copied from class: Enemy
      Радиус врага в пикселях
      Overrides:
      getSize in class Enemy
    • getSquaredSize

      public float getSquaredSize()
      Overrides:
      getSquaredSize in class Enemy
    • getTowerDamageMultiplier

      public float getTowerDamageMultiplier(TowerType towerType)
      Overrides:
      getTowerDamageMultiplier in class Enemy
    • hasDrawPriority

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

      public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime, com.badlogic.gdx.graphics.Color color)
    • getBaseDamage

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

      public boolean dynamicPathfindingAllowed()
      Overrides:
      dynamicPathfindingAllowed in class Enemy