Package mindustry.world.draw
Class DrawPower
java.lang.Object
mindustry.world.draw.DrawBlock
mindustry.world.draw.DrawPower
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
arc.graphics.Color
arc.graphics.g2d.TextureRegion
arc.graphics.Color
arc.graphics.g2d.TextureRegion
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(mindustry.gen.Building build) Draws the block itself.void
Draws the planned version of this block.arc.graphics.g2d.TextureRegion[]
void
Load any relevant texture regions.Methods inherited from class mindustry.world.draw.DrawBlock
drawLight, expectCrafter, finalIcons, getRegionsToOutline
-
Field Details
-
emptyRegion
public arc.graphics.g2d.TextureRegion emptyRegion -
fullRegion
public arc.graphics.g2d.TextureRegion 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
public arc.graphics.Color emptyLightColor -
fullLightColor
public arc.graphics.Color fullLightColor -
layer
public float layerAny number <=0 disables layer changes.
-
-
Constructor Details
-
DrawPower
public DrawPower() -
DrawPower
-
-
Method Details