Package mindustry.ui

Class Bar


public class Bar extends Element
  • Constructor Details

  • Method Details

    • reset

      public void reset(float value)
    • set

      public void set(Prov<String> name, Floatp fraction, Color color)
    • snap

      public void snap()
    • outline

      public Bar outline(Color color, float stroke)
    • flash

      public void flash()
    • blink

      public Bar blink(Color color)
    • draw

      public void draw()
      Description copied from class: Element
      Draws the element. Does nothing by default.
      Overrides:
      draw in class Element