Package mindustry.graphics
Class BlockRenderer
java.lang.Object
mindustry.graphics.BlockRenderer
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Color
static final int
TextureRegion[][]
static boolean
final FloorRenderer
static final int
static final Color
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFloorIndex
(Tile tile) void
void
void
void
void
void
invalidateTile
(Tile tile) void
Process all blocks to draw.void
recacheWall
(Tile tile) void
removeFloorIndex
(Tile tile) void
void
updateShadow
(mindustry.gen.Building build)
-
Field Details
-
crackRegions
public static final int crackRegions- See Also:
-
maxCrackSize
public static final int maxCrackSize- See Also:
-
drawQuadtreeDebug
public static boolean drawQuadtreeDebug -
shadowColor
-
blendShadowColor
-
floor
-
cracks
-
-
Constructor Details
-
BlockRenderer
public BlockRenderer()
-
-
Method Details
-
updateDarkness
public void updateDarkness() -
invalidateTile
-
removeFloorIndex
-
addFloorIndex
-
recacheWall
-
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)
-