Package mindustry.game
Class MapObjectives.ShapeMarker
java.lang.Object
mindustry.game.MapObjectives.ObjectiveMarker
mindustry.game.MapObjectives.ShapeMarker
- Enclosing class:
- MapObjectives
Displays a shape with an outline and color.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
float
float
int
float
Fields inherited from class mindustry.game.MapObjectives.ObjectiveMarker
wasAdded
-
Constructor Summary
ConstructorDescriptionShapeMarker
(float x, float y) ShapeMarker
(float x, float y, float radius, float rotation) -
Method Summary
Methods inherited from class mindustry.game.MapObjectives.ObjectiveMarker
added, drawMinimap, fetchText, removed, typeName
-
Field Details
-
pos
-
radius
public float radius -
rotation
public float rotation -
stroke
public float stroke -
fill
public boolean fill -
outline
public boolean outline -
sides
public int sides -
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()Description copied from class:MapObjectives.ObjectiveMarker
Called in the overlay draw layer.- Overrides:
draw
in classMapObjectives.ObjectiveMarker
-