Class DrawFlame

java.lang.Object
mindustry.world.draw.DrawBlock
mindustry.world.draw.DrawFlame
Direct Known Subclasses:
DrawPlasma

public class DrawFlame extends DrawBlock
  • Field Details

    • flameColor

      public Color flameColor
    • top

      public TextureRegion top
    • lightRadius

      public float lightRadius
    • lightAlpha

      public float lightAlpha
    • lightSinScl

      public float lightSinScl
    • lightSinMag

      public float lightSinMag
    • flameRadius

      public float flameRadius
    • flameRadiusIn

      public float flameRadiusIn
    • flameRadiusScl

      public float flameRadiusScl
    • flameRadiusMag

      public float flameRadiusMag
    • flameRadiusInMag

      public float flameRadiusInMag
  • Constructor Details

    • DrawFlame

      public DrawFlame()
    • DrawFlame

      public DrawFlame(Color flameColor)
  • Method Details

    • load

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

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

      public void drawLight(mindustry.gen.Building build)
      Description copied from class: DrawBlock
      Draws any extra light for the block.
      Overrides:
      drawLight in class DrawBlock