Interface MapContext

All Known Subinterfaces:
HexedMapContext
All Known Implementing Classes:
SimpleHexedMapContext, SimpleMapContext

public interface MapContext
  • Method Details

    • resize

      void resize(int width, int height)
    • getWidth

      int getWidth()
    • getHeight

      int getHeight()
    • getTile

      MapTile getTile(int x, int y)
    • getRules

      mindustry.game.Rules getRules()
    • setRules

      void setRules(mindustry.game.Rules rules)
    • getMapName

      String getMapName()
    • setMapName

      void setMapName(String name)
    • forEachTile

      void forEachTile(TileConsumer action)
    • forEachTile

      void forEachTile(int x, int y, int w, int h, TileConsumer action)