Class DrawLiquidTile

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

public class DrawLiquidTile extends DrawBlock
  • Field Details

    • drawLiquid

      public Liquid drawLiquid
    • padding

      public float padding
    • padLeft

      public float padLeft
    • padRight

      public float padRight
    • padTop

      public float padTop
    • padBottom

      public float padBottom
    • alpha

      public float alpha
  • Constructor Details

    • DrawLiquidTile

      public DrawLiquidTile(Liquid drawLiquid, float padding)
    • DrawLiquidTile

      public DrawLiquidTile(Liquid drawLiquid)
    • DrawLiquidTile

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