Class DrawShape

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

public class DrawShape extends DrawBlock
  • Field Details

    • color

      public Color color
    • sides

      public int sides
    • radius

      public float radius
    • timeScl

      public float timeScl
    • layer

      public float layer
    • x

      public float x
    • y

      public float y
    • useWarmupRadius

      public boolean useWarmupRadius
  • Constructor Details

    • DrawShape

      public DrawShape()
  • Method Details

    • draw

      public void draw(mindustry.gen.Building build)
      Description copied from class: DrawBlock
      Draws the block itself.
      Overrides:
      draw in class DrawBlock