Class DrawBlurSpin

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

public class DrawBlurSpin extends DrawBlock
  • Field Details

    • region

      public TextureRegion region
    • blurRegion

      public TextureRegion blurRegion
    • suffix

      public String suffix
    • rotateSpeed

      public float rotateSpeed
    • x

      public float x
    • y

      public float y
    • blurThresh

      public float blurThresh
  • Constructor Details

    • DrawBlurSpin

      public DrawBlurSpin(String suffix, float speed)
    • DrawBlurSpin

      public DrawBlurSpin()
  • Method Details

    • draw

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

      public TextureRegion[] icons(Block block)
      Overrides:
      icons in class DrawBlock
      Returns:
      the generated icons to be used for this block.
    • load

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