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.Color
float
float
float
Fields inherited from class mindustry.game.MapObjectives.PosMarker
pos
Fields 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 TypeMethodDescriptionvoid
control
(LMarkerControl type, double p1, double p2, double p3) Control marker with world processor code.void
draw
(float scaleFactor) void
setTexture
(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.ObjectiveMarker
Control marker with world processor code. Ignores NaN (null) values.- Overrides:
control
in classMapObjectives.PosMarker
-
draw
public void draw(float scaleFactor) - Overrides:
draw
in classMapObjectives.ObjectiveMarker
-
setTexture
- Overrides:
setTexture
in classMapObjectives.ObjectiveMarker
-