Class BrootEnemy

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

public final class BrootEnemy extends Enemy
  • Field Details

  • 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
    • setUnregistered

      public void setUnregistered()
      Overrides:
      setUnregistered in class Enemy
    • getAbilityVulnerability

      public float getAbilityVulnerability(AbilityType abilityType)
      Overrides:
      getAbilityVulnerability in class Enemy
    • getSize

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

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

      public void startRage()
    • getBuffedSpeed

      public float getBuffedSpeed()
      Overrides:
      getBuffedSpeed in class Enemy
    • wasInRage

      public boolean wasInRage()
    • isInRage

      public boolean isInRage()
    • updateRageState

      public void updateRageState(float deltaTime)
    • healthRestoredWithDamage

      public void healthRestoredWithDamage()
    • hasDrawPriority

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

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

      public boolean dynamicPathfindingAllowed()
      Overrides:
      dynamicPathfindingAllowed in class Enemy