Class MapObjectives.ShapeTextMarker

java.lang.Object
mindustry.game.MapObjectives.ObjectiveMarker
mindustry.game.MapObjectives.ShapeTextMarker
Enclosing class:
MapObjectives

public static class MapObjectives.ShapeTextMarker extends MapObjectives.ObjectiveMarker
Displays text above a shape.
  • Field Details

    • text

      public String text
    • pos

      public Vec2 pos
    • fontSize

      public float fontSize
    • textHeight

      public float textHeight
    • flags

      public byte flags
    • radius

      public float radius
    • rotation

      public float rotation
    • sides

      public int sides
    • color

      public Color color
  • Constructor Details

    • ShapeTextMarker

      public ShapeTextMarker(String text, float x, float y)
    • ShapeTextMarker

      public ShapeTextMarker(String text, float x, float y, float radius)
    • ShapeTextMarker

      public ShapeTextMarker(String text, float x, float y, float radius, float rotation)
    • ShapeTextMarker

      public ShapeTextMarker(String text, float x, float y, float radius, float rotation, float textHeight)
    • ShapeTextMarker

      public ShapeTextMarker()
  • Method Details