Package mindustry.game
Class MapObjectives.LightMarker
java.lang.Object
mindustry.game.MapObjectives.ObjectiveMarker
mindustry.game.MapObjectives.PosMarker
mindustry.game.MapObjectives.LightMarker
- All Implemented Interfaces:
arc.util.serialization.Json.JsonSerializable
- Enclosing class:
- MapObjectives
Displays a single point light.
-
Field Summary
FieldsFields inherited from class mindustry.game.MapObjectives.PosMarker
pos -
Constructor Summary
ConstructorsConstructorDescriptionLightMarker(int x, int y) LightMarker(int x, int y, float radius, arc.graphics.Color color) LightMarker(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.voiddrawLight(float scaleFactor) Methods inherited from class mindustry.game.MapObjectives.ObjectiveMarker
draw, fetchText, read, setText, setTexture, typeName, write
-
Field Details
-
radius
public float radius -
color
public arc.graphics.Color color
-
-
Constructor Details
-
LightMarker
public LightMarker(int x, int y) -
LightMarker
public LightMarker(int x, int y, arc.graphics.Color color) -
LightMarker
public LightMarker(int x, int y, float radius, arc.graphics.Color color) -
LightMarker
public LightMarker()
-
-
Method Details
-
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
-