Package mindustry.game
Class MapObjectives.TextMarker
java.lang.Object
mindustry.game.MapObjectives.ObjectiveMarker
mindustry.game.MapObjectives.PosMarker
mindustry.game.MapObjectives.TextMarker
- Enclosing class:
- MapObjectives
Displays text at a location.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbytefloatintintFields inherited from class mindustry.game.MapObjectives.PosMarker
posFields inherited from class mindustry.game.MapObjectives.ObjectiveMarker
arrayIndex, autoscale, drawLayer, minimap, world -
Constructor Summary
ConstructorsConstructorDescriptionTextMarker(String text, float x, float y) TextMarker(String text, float x, float y, float fontSize, byte flags) -
Method Summary
Modifier and TypeMethodDescriptionvoidcontrol(LMarkerControl type, double p1, double p2, double p3) Control marker with world processor code.voiddraw(float scaleFactor) voidMethods inherited from class mindustry.game.MapObjectives.ObjectiveMarker
fetchText, setTexture, typeName
-
Field Details
-
text
-
fontSize
public float fontSize -
flags
public byte flags -
textAlign
public int textAlign -
lineAlign
public int lineAlign
-
-
Constructor Details
-
TextMarker
-
TextMarker
-
TextMarker
public TextMarker()
-
-
Method Details
-
draw
public void draw(float scaleFactor) - Overrides:
drawin classMapObjectives.ObjectiveMarker
-
control
Description copied from class:MapObjectives.ObjectiveMarkerControl marker with world processor code. Ignores NaN (null) values.- Overrides:
controlin classMapObjectives.PosMarker
-
setText
- Overrides:
setTextin classMapObjectives.ObjectiveMarker
-