Class VenomProjectile

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

public final class VenomProjectile 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
    • setup

      public void setup(VenomTower tower, Enemy target, PoisonBuff poisonBuff, com.badlogic.gdx.math.Vector2 start, float speed)
    • multiplyDamage

      public void multiplyDamage(float mul, Ability byAbility)
      Overrides:
      multiplyDamage in class Projectile
    • 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
    • update

      public void update(float deltaTime)
      Overrides:
      update in class EnemyFollowingProjectile
    • hit

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

      public void draw(com.badlogic.gdx.graphics.g2d.Batch batch, float delta)
      Specified by:
      draw in class Projectile