Package mindustry.graphics
Class MinimapRenderer
java.lang.Object
mindustry.graphics.MinimapRenderer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drawEntities
(float x, float y, float w, float h, float scaling, boolean fullView) void
void
drawSpawns
(float x, float y, float w, float h, float scaling) float
getZoom()
void
reset()
float
scale
(float radius) 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
-
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, float scaling, boolean fullView) -
drawSpawns
public void drawSpawns(float x, float y, float w, float h, float scaling) -
transform
-
scale
public float scale(float radius) -
getRegion
-
updateAll
public void updateAll() -
update
-
updateUnitArray
public void updateUnitArray() -
drawLabel
-