Package mindustry.world.draw
Class DrawPower
java.lang.Object
mindustry.world.draw.DrawBlock
mindustry.world.draw.DrawPower
-
Field Summary
Modifier and TypeFieldDescriptionboolean
float
Any number <=0 disables layer changes.boolean
If false, fades between emptyRegion and fullRegion instead of mixcol between empty and full colors.Fields inherited from class mindustry.world.draw.DrawBlock
iconOverride, rand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(mindustry.gen.Building build) Draws the block itself.void
Draws the planned version of this block.void
Load any relevant texture regions.Methods inherited from class mindustry.world.draw.DrawBlock
drawLight, expectCrafter, finalIcons, getRegionsToOutline
-
Field Details
-
emptyRegion
-
fullRegion
-
suffix
-
drawPlan
public boolean drawPlan -
mixcol
public boolean mixcolIf false, fades between emptyRegion and fullRegion instead of mixcol between empty and full colors. -
emptyLightColor
-
fullLightColor
-
layer
public float layerAny number <=0 disables layer changes.
-
-
Constructor Details
-
DrawPower
public DrawPower() -
DrawPower
-
-
Method Details