Class BlockRenderer

java.lang.Object
mindustry.graphics.BlockRenderer

public class BlockRenderer extends Object
  • Field Details

    • crackRegions

      public static final int crackRegions
      See Also:
    • maxCrackSize

      public static final int maxCrackSize
      See Also:
    • drawQuadtreeDebug

      public static boolean drawQuadtreeDebug
    • shadowColor

      public static final Color shadowColor
    • blendShadowColor

      public static final Color blendShadowColor
    • floor

      public final FloorRenderer floor
    • cracks

      public TextureRegion[][] cracks
  • Constructor Details

    • BlockRenderer

      public BlockRenderer()
  • Method Details

    • updateDarkness

      public void updateDarkness()
    • invalidateTile

      public void invalidateTile(Tile tile)
    • removeFloorIndex

      public void removeFloorIndex(Tile tile)
    • addFloorIndex

      public void addFloorIndex(Tile tile)
    • recacheWall

      public void recacheWall(Tile tile)
    • checkChanges

      public void checkChanges()
    • drawDarkness

      public void drawDarkness()
    • drawDestroyed

      public void drawDestroyed()
    • drawShadows

      public void drawShadows()
    • processBlocks

      public void processBlocks()
      Process all blocks to draw.
    • drawBlocks

      public void drawBlocks()
    • updateShadow

      public void updateShadow(mindustry.gen.Building build)