Package mindustry.game
Class MapObjectives.ShapeMarker
java.lang.Object
mindustry.game.MapObjectives.ObjectiveMarker
mindustry.game.MapObjectives.PosMarker
mindustry.game.MapObjectives.ShapeMarker
- Enclosing class:
- MapObjectives
Displays a shape with an outline and color.
-
Field Summary
FieldsModifier and TypeFieldDescriptionarc.graphics.ColorfloatbooleanbooleanfloatfloatintfloatfloatFields inherited from class mindustry.game.MapObjectives.PosMarker
posFields inherited from class mindustry.game.MapObjectives.ObjectiveMarker
arrayIndex, autoscale, drawLayer, minimap, world -
Constructor Summary
ConstructorsConstructorDescriptionShapeMarker(float x, float y) ShapeMarker(float x, float y, float radius, float rotation) -
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 -
rotation
public float rotation -
stroke
public float stroke -
startAngle
public float startAngle -
endAngle
public float endAngle -
fill
public boolean fill -
outline
public boolean outline -
sides
public int sides -
color
public arc.graphics.Color color
-
-
Constructor Details
-
ShapeMarker
public ShapeMarker(float x, float y) -
ShapeMarker
public ShapeMarker(float x, float y, float radius, float rotation) -
ShapeMarker
public ShapeMarker()
-
-
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
-