Class DrawLiquidRegion

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

public class DrawLiquidRegion extends DrawBlock
  • Field Details

    • drawLiquid

      public Liquid drawLiquid
    • liquid

      public TextureRegion liquid
    • suffix

      public String suffix
    • alpha

      public float alpha
  • Constructor Details

    • DrawLiquidRegion

      public DrawLiquidRegion(Liquid drawLiquid)
    • DrawLiquidRegion

      public DrawLiquidRegion()
  • 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