Class LiquidBulletType

All Implemented Interfaces:
Cloneable, Comparable<Content>

public class LiquidBulletType extends BulletType
  • Field Details

    • liquid

      public Liquid liquid
    • puddleSize

      public float puddleSize
    • orbSize

      public float orbSize
    • boilTime

      public float boilTime
  • Constructor Details

    • LiquidBulletType

      public LiquidBulletType(@Nullable Liquid liquid)
    • LiquidBulletType

      public LiquidBulletType()
  • Method Details

    • update

      public void update(mindustry.gen.Bullet b)
      Overrides:
      update in class BulletType
    • draw

      public void draw(mindustry.gen.Bullet b)
      Overrides:
      draw in class BulletType
    • despawned

      public void despawned(mindustry.gen.Bullet b)
      Description copied from class: BulletType
      Called when the bullet reaches the end of its lifetime or is destroyed by something external.
      Overrides:
      despawned in class BulletType
    • hit

      public void hit(mindustry.gen.Bullet b, float hitx, float hity)
      Overrides:
      hit in class BulletType