Package mindustry.game
Class MapObjectives.TextureMarker
java.lang.Object
mindustry.game.MapObjectives.ObjectiveMarker
mindustry.game.MapObjectives.PosMarker
mindustry.game.MapObjectives.TextureMarker
- All Implemented Interfaces:
arc.util.serialization.Json.JsonSerializable
- Enclosing class:
- MapObjectives
Displays a texture with specified name.
-
Field Summary
FieldsModifier and TypeFieldDescriptionarc.graphics.ColorfloatfloatfloatFields inherited from class mindustry.game.MapObjectives.PosMarker
posFields inherited from class mindustry.game.MapObjectives.ObjectiveMarker
arrayIndex, autoscale, drawLayer, minimap, world -
Constructor Summary
ConstructorsConstructorDescriptionTextureMarker(Object texture, float x, float y) TextureMarker(Object texture, float x, float y, float width, float height) -
Method Summary
Modifier and TypeMethodDescriptionvoidcontrol(LMarkerControl type, double p1, double p2, double p3) Control marker with world processor code.voiddraw(float scaleFactor) voidsetTexture(Object texture)
-
Field Details
-
rotation
public float rotation -
width
public float width -
height
public float height -
texture
-
color
public arc.graphics.Color color
-
-
Constructor Details
-
TextureMarker
-
TextureMarker
-
TextureMarker
public TextureMarker()
-
-
Method Details
-
control
Description copied from class:MapObjectives.ObjectiveMarkerControl marker with world processor code. Ignores NaN (null) values.- Overrides:
controlin classMapObjectives.PosMarker
-
draw
public void draw(float scaleFactor) - Overrides:
drawin classMapObjectives.ObjectiveMarker
-
setTexture
- Overrides:
setTexturein classMapObjectives.ObjectiveMarker
-