Package mindustry.world.draw
Class DrawTurret
java.lang.Object
mindustry.world.draw.DrawBlock
mindustry.world.draw.DrawTurret
Extend to implement custom drawing behavior for a turret.
-
Field Summary
Modifier and TypeFieldDescriptionPrefix to use when loading base region.Overrides the liquid to draw in the liquid region.protected static final Rand
Fields inherited from class mindustry.world.draw.DrawBlock
iconOverride
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(mindustry.gen.Building build) Draws the block itself.void
drawHeat
(Turret block, Turret.TurretBuild build) void
drawTurret
(Turret block, Turret.TurretBuild build) void
getRegionsToOutline
(Block block, Seq<TextureRegion> out) void
Load any relevant texture regions.Methods inherited from class mindustry.world.draw.DrawBlock
drawLight, drawPlan, expectCrafter, finalIcons
-
Field Details
-
rand
-
parts
-
basePrefix
Prefix to use when loading base region. -
liquidDraw
Overrides the liquid to draw in the liquid region. -
base
-
liquid
-
top
-
heat
-
preview
-
outline
-
-
Constructor Details
-
DrawTurret
-
DrawTurret
public DrawTurret()
-
-
Method Details
-
getRegionsToOutline
- Overrides:
getRegionsToOutline
in classDrawBlock
-
draw
public void draw(mindustry.gen.Building build) Description copied from class:DrawBlock
Draws the block itself. -
drawTurret
-
drawHeat
-
load
Load any relevant texture regions. -
icons
-