Class FighterEnemy

All Implemented Interfaces:
com.badlogic.gdx.utils.Pool.Poolable, com.esotericsoftware.kryo.KryoSerializable, ScheduledUpdater.Updatable

public final class FighterEnemy extends Enemy
Bounty, exp и score x2 (по +x0.33 за каждого маленького)
  • 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
    • getSize

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

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

      public com.badlogic.gdx.graphics.g2d.TextureRegion getTexture()
      Overrides:
      getTexture in class Enemy
    • getEmojiTexture

      public com.badlogic.gdx.graphics.g2d.TextureRegion getEmojiTexture()
      Overrides:
      getEmojiTexture in class Enemy
    • getHighlightTexture

      public com.badlogic.gdx.graphics.g2d.TextureRegion getHighlightTexture()
      Overrides:
      getHighlightTexture in class Enemy
    • hasDrawPriority

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

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

      public void onPreDie()
      Overrides:
      onPreDie in class Enemy