Package mindustry.graphics
Class MinimapRenderer
java.lang.Object
mindustry.graphics.MinimapRenderer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawEntities
(float x, float y, float w, float h, boolean fullView) void
void
arc.graphics.Pixmap
arc.graphics.g2d.TextureRegion
arc.graphics.Texture
float
getZoom()
void
reset()
void
setZoom
(float amount) void
update()
void
void
void
void
zoomBy
(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
-
updateUnitArray
public void updateUnitArray() -
drawLabel
-