Class EnemyFollowingProjectile

All Implemented Interfaces:
Pool.Poolable, KryoSerializable
Direct Known Subclasses:
AirProjectile, BasicProjectile, BuffProjectile, EnemyFollowingExplosiveProjectile, VenomProjectile

public abstract class EnemyFollowingProjectile extends Projectile
A regular projectile which constantly follows the target enemy.
  • Field Details

    • DEFAULT_MAX_ROT_SPEED

      public static final float DEFAULT_MAX_ROT_SPEED
      See Also:
    • DEFAULT_MAX_ROT_SPEED_DYNAMIC

      public static final float DEFAULT_MAX_ROT_SPEED_DYNAMIC
      See Also:
    • speed

      public float speed
      Projectile speed in px/s
    • maxRotationSpeed

      public float maxRotationSpeed
      Max rotation speed in deg/s
    • maxRotationSpeedDynamic

      public float maxRotationSpeedDynamic
      By how many deg/s the projectile's rotation speed increases per second (becomes more agile with time)
    • drawPosition

      public Vector2 drawPosition
    • drawAngle

      public float drawAngle
  • Method Details