Package mindustry.game
Class MapObjectives.PosMarker
java.lang.Object
mindustry.game.MapObjectives.ObjectiveMarker
mindustry.game.MapObjectives.PosMarker
- Direct Known Subclasses:
MapObjectives.LineMarker
,MapObjectives.PointMarker
,MapObjectives.ShapeMarker
,MapObjectives.ShapeTextMarker
,MapObjectives.TextMarker
,MapObjectives.TextureMarker
- Enclosing class:
- MapObjectives
A marker that has a position in the world in world coordinates.
-
Field Summary
FieldsFields inherited from class mindustry.game.MapObjectives.ObjectiveMarker
arrayIndex, autoscale, drawLayer, minimap, world
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
control
(LMarkerControl type, double p1, double p2, double p3) Control marker with world processor code.Methods inherited from class mindustry.game.MapObjectives.ObjectiveMarker
draw, fetchText, setText, setTexture, typeName
-
Field Details
-
pos
public arc.math.geom.Vec2 posPosition of marker, in world coordinates
-
-
Constructor Details
-
PosMarker
public PosMarker()
-
-
Method Details
-
control
Description copied from class:MapObjectives.ObjectiveMarker
Control marker with world processor code. Ignores NaN (null) values.- Overrides:
control
in classMapObjectives.ObjectiveMarker
-