Package mindustry.graphics
Class MinimapRenderer
java.lang.Object
mindustry.graphics.MinimapRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawEntities(float x, float y, float w, float h, boolean fullView) voidvoidarc.graphics.Pixmaparc.graphics.g2d.TextureRegionarc.graphics.TexturefloatgetZoom()voidreset()voidsetZoom(float amount) voidupdate()voidvoidvoidupdatePixel(Tile tile) voidvoidzoomBy(float amount)
-
Constructor Details
-
MinimapRenderer
public MinimapRenderer()
-
-
Method Details
-
update
public void update() -
getPixmap
public arc.graphics.Pixmap getPixmap() -
getTexture
@Nullable public arc.graphics.Texture getTexture() -
zoomBy
public void zoomBy(float amount) -
setZoom
public void setZoom(float amount) -
getZoom
public float getZoom() -
reset
public void reset() -
drawEntities
public void drawEntities(float x, float y, float w, float h, boolean fullView) -
drawSpawns
public void drawSpawns() -
getRegion
@Nullable public arc.graphics.g2d.TextureRegion getRegion() -
updateAll
public void updateAll() -
update
-
updatePixel
-
updateUnitArray
public void updateUnitArray() -
drawLabel
-