Package mindustry.game
Class MapObjectives.PointMarker
java.lang.Object
mindustry.game.MapObjectives.ObjectiveMarker
mindustry.game.MapObjectives.PosMarker
mindustry.game.MapObjectives.PointMarker
- Enclosing class:
- MapObjectives
Displays a circle in the world.
-
Field Summary
FieldsFields inherited from class mindustry.game.MapObjectives.PosMarker
posFields inherited from class mindustry.game.MapObjectives.ObjectiveMarker
arrayIndex, autoscale, drawLayer, minimap, world -
Constructor Summary
ConstructorsConstructorDescriptionPointMarker(int x, int y) PointMarker(int x, int y, float radius, float stroke, arc.graphics.Color color) PointMarker(int x, int y, arc.graphics.Color color) -
Method Summary
Modifier and TypeMethodDescriptionvoidcontrol(LMarkerControl type, double p1, double p2, double p3) Control marker with world processor code.voiddraw(float scaleFactor) Methods inherited from class mindustry.game.MapObjectives.ObjectiveMarker
fetchText, setText, setTexture, typeName
-
Field Details
-
radius
public float radius -
stroke
public float stroke -
color
public arc.graphics.Color color
-
-
Constructor Details
-
PointMarker
public PointMarker(int x, int y) -
PointMarker
public PointMarker(int x, int y, arc.graphics.Color color) -
PointMarker
public PointMarker(int x, int y, float radius, float stroke, arc.graphics.Color color) -
PointMarker
public PointMarker()
-
-
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
-