Class DrawSoftParticles

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

public class DrawSoftParticles extends DrawBlock
  • Field Details

    • region

      public arc.graphics.g2d.TextureRegion region
    • color

      public arc.graphics.Color color
    • color2

      public arc.graphics.Color color2
    • x

      public float x
    • y

      public float y
    • 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 arc.math.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