Class DrawHeatOutput

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

public class DrawHeatOutput extends DrawBlock
  • Field Details

    • heat

      public arc.graphics.g2d.TextureRegion heat
    • glow

      public arc.graphics.g2d.TextureRegion glow
    • top1

      public arc.graphics.g2d.TextureRegion top1
    • top2

      public arc.graphics.g2d.TextureRegion top2
    • heatColor

      public arc.graphics.Color heatColor
    • heatPulse

      public float heatPulse
    • heatPulseScl

      public float heatPulseScl
    • glowMult

      public float glowMult
    • rotOffset

      public int rotOffset
    • drawGlow

      public boolean drawGlow
  • Constructor Details

    • DrawHeatOutput

      public DrawHeatOutput()
    • DrawHeatOutput

      public DrawHeatOutput(int rotOffset, boolean drawGlow)
  • Method Details

    • draw

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

      public void drawPlan(Block block, BuildPlan plan, arc.util.Eachable<BuildPlan> list)
      Description copied from class: DrawBlock
      Draws the planned version of this block.
      Overrides:
      drawPlan in class DrawBlock
    • load

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