Package mindustry.world.draw
Class DrawRegion
java.lang.Object
mindustry.world.draw.DrawBlock
mindustry.world.draw.DrawRegion
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
float
Any number <=0 disables layer changes.float
float
boolean
float
float
Fields inherited from class mindustry.world.draw.DrawBlock
iconOverride, rand
-
Constructor Summary
ConstructorDescriptionDrawRegion
(String suffix) DrawRegion
(String suffix, float rotateSpeed) DrawRegion
(String suffix, float rotateSpeed, boolean spinSprite) -
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
-
region
-
suffix
-
spinSprite
public boolean spinSprite -
drawPlan
public boolean drawPlan -
buildingRotate
public boolean buildingRotate -
rotateSpeed
public float rotateSpeed -
x
public float x -
y
public float y -
rotation
public float rotation -
layer
public float layerAny number <=0 disables layer changes.
-
-
Constructor Details
-
DrawRegion
-
DrawRegion
-
DrawRegion
-
DrawRegion
public DrawRegion()
-
-
Method Details