Package mindustry.game
Class MapObjectives.TextureMarker
java.lang.Object
mindustry.game.MapObjectives.ObjectiveMarker
mindustry.game.MapObjectives.PosMarker
mindustry.game.MapObjectives.TextureMarker
- 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(String textureName, float x, float y) TextureMarker(String textureName, 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(String textureName) Methods inherited from class mindustry.game.MapObjectives.ObjectiveMarker
fetchText, setText, typeName
-
Field Details
-
rotation
public float rotation -
width
public float width -
height
public float height -
textureName
-
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
-