Class MinimapRenderer

java.lang.Object
mindustry.graphics.MinimapRenderer

public class MinimapRenderer extends Object
  • Constructor Details

    • MinimapRenderer

      public MinimapRenderer()
  • Method Details

    • update

      public void update()
    • getPixmap

      public Pixmap getPixmap()
    • getTexture

      @Nullable public 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, float scaling, boolean fullView)
    • drawSpawns

      public void drawSpawns(float x, float y, float w, float h, float scaling)
    • transform

      public Vec2 transform(Vec2 position)
    • scale

      public float scale(float radius)
    • getRegion

      @Nullable public TextureRegion getRegion()
    • updateAll

      public void updateAll()
    • update

      public void update(Tile tile)
    • updateUnitArray

      public void updateUnitArray()
    • drawLabel

      public void drawLabel(float x, float y, String text, Color color)