Class DrawSoftParticles

java.lang.Object
mindustry.world.draw.DrawBlock
mindustry.world.draw.DrawSoftParticles

public class DrawSoftParticles extends DrawBlock
  • Field Details

    • region

      public TextureRegion region
    • color

      public Color color
    • color2

      public Color color2
    • alpha

      public float alpha
    • particles

      public int particles
    • particleLife

      public float particleLife
    • particleRad

      public float particleRad
    • particleSize

      public float particleSize
    • fadeMargin

      public float fadeMargin
    • rotateScl

      public float rotateScl
    • particleInterp

      public Interp particleInterp
  • Constructor Details

    • DrawSoftParticles

      public DrawSoftParticles()
  • Method Details

    • draw

      public void draw(mindustry.gen.Building build)
      Description copied from class: DrawBlock
      Draws the block itself.
      Overrides:
      draw in class DrawBlock
    • load

      public void load(Block block)
      Description copied from class: DrawBlock
      Load any relevant texture regions.
      Overrides:
      load in class DrawBlock