Package mindustry.game
Class MapObjectives.TextMarker
java.lang.Object
mindustry.game.MapObjectives.ObjectiveMarker
mindustry.game.MapObjectives.TextMarker
- Enclosing class:
- MapObjectives
Displays text at a location.
-
Field Summary
Fields inherited from class mindustry.game.MapObjectives.ObjectiveMarker
wasAdded
-
Constructor Summary
ConstructorDescriptionTextMarker
(String text, float x, float y) TextMarker
(String text, float x, float y, float fontSize, byte flags) -
Method Summary
Methods inherited from class mindustry.game.MapObjectives.ObjectiveMarker
added, drawMinimap, fetchText, removed, typeName
-
Field Details
-
text
-
pos
-
fontSize
public float fontSize -
flags
public byte flags
-
-
Constructor Details
-
TextMarker
-
TextMarker
-
TextMarker
public TextMarker()
-
-
Method Details
-
draw
public void draw()Description copied from class:MapObjectives.ObjectiveMarker
Called in the overlay draw layer.- Overrides:
draw
in classMapObjectives.ObjectiveMarker
-