Class DrawPart

java.lang.Object
mindustry.entities.part.DrawPart
Direct Known Subclasses:
FlarePart, HaloPart, HoverPart, RegionPart, ShapePart

public abstract class DrawPart extends Object
  • Field Details

    • params

      public static final DrawPart.PartParams params
    • turretShading

      public boolean turretShading
      If true, turret shading is used. Don't touch this, it is set up in unit/block init()!
    • under

      public boolean under
      If true, the layer is overridden to be under the weapon/turret itself.
    • weaponIndex

      public int weaponIndex
      For units, this is the index of the weapon this part gets its progress for.
    • recoilIndex

      public int recoilIndex
      Which recoil counter to use. < 0 to use base recoil.
  • Constructor Details

    • DrawPart

      public DrawPart()
  • Method Details