Class SapBulletType

All Implemented Interfaces:
Cloneable, Comparable<Content>

public class SapBulletType extends BulletType
  • Field Details

    • length

      public float length
    • sapStrength

      public float sapStrength
    • color

      public Color color
    • width

      public float width
  • Constructor Details

    • SapBulletType

      public SapBulletType()
  • Method Details

    • draw

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

      public void drawLight(mindustry.gen.Bullet b)
      Overrides:
      drawLight in class BulletType
    • calculateRange

      protected float calculateRange()
      Overrides:
      calculateRange in class BulletType
      Returns:
      maximum distance the bullet this bullet type has can travel.
    • init

      public void init(mindustry.gen.Bullet b)
      Overrides:
      init in class BulletType