Class DrawRegion

java.lang.Object
mindustry.world.draw.DrawBlock
mindustry.world.draw.DrawRegion

public class DrawRegion extends DrawBlock
  • Field Details

    • region

      public TextureRegion region
    • suffix

      public String 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 layer
      Any number <=0 disables layer changes.
  • Constructor Details

    • DrawRegion

      public DrawRegion(String suffix)
    • DrawRegion

      public DrawRegion(String suffix, float rotateSpeed)
    • DrawRegion

      public DrawRegion(String suffix, float rotateSpeed, boolean spinSprite)
    • DrawRegion

      public DrawRegion()
  • Method Details