Class EnemyFollowingExplosiveProjectile

All Implemented Interfaces:
com.badlogic.gdx.utils.Pool.Poolable, com.esotericsoftware.kryo.KryoSerializable
Direct Known Subclasses:
CannonProjectile, MissileProjectile

public abstract class EnemyFollowingExplosiveProjectile extends EnemyFollowingProjectile
  • 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 EnemyFollowingProjectile
    • 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 EnemyFollowingProjectile
    • 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 EnemyFollowingProjectile
    • setUnregistered

      public void setUnregistered()
      Overrides:
      setUnregistered in class EnemyFollowingProjectile
    • multiplyDamage

      public void multiplyDamage(float mul, Ability byAbility)
      Overrides:
      multiplyDamage in class Projectile
    • setup

      @Deprecated public void setup(com.badlogic.gdx.math.Vector2 start, Enemy target, float speed)
      Deprecated.
    • setup

      @Deprecated public void setup(com.badlogic.gdx.math.Vector2 start, Enemy target, float startingAngle, float speed, float maxRotationSpeed, float maxRotationSpeedDynamic)
      Deprecated.
    • hit

      public void hit()
      Description copied from class: Projectile
      Вызывается, когда снаряд долетел до цели
      Overrides:
      hit in class Projectile