Package mindustry.game
Class MapObjectives.PointMarker
java.lang.Object
mindustry.game.MapObjectives.ObjectiveMarker
mindustry.game.MapObjectives.PosMarker
mindustry.game.MapObjectives.PointMarker
- All Implemented Interfaces:
arc.util.serialization.Json.JsonSerializable
- Enclosing class:
- MapObjectives
Displays a circle in the world.
-
Field Summary
FieldsFields inherited from class mindustry.game.MapObjectives.PosMarker
pos -
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) voiddrawLight(float scaleFactor) Methods inherited from class mindustry.game.MapObjectives.ObjectiveMarker
fetchText, read, setText, setTexture, typeName, write
-
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
-
drawLight
public void drawLight(float scaleFactor) - Overrides:
drawLightin classMapObjectives.ObjectiveMarker
-
control
Description copied from class:MapObjectives.ObjectiveMarkerControl marker with world processor code. Ignores NaN (null) values.- Overrides:
controlin classMapObjectives.PosMarker
-