Package com.xpdustry.hexed.generation
Interface MapContext
- All Known Subinterfaces:
HexedMapContext
- All Known Implementing Classes:
SimpleHexedMapContext,SimpleMapContext
public interface MapContext
-
Method Summary
Modifier and TypeMethodDescriptionvoidforEachTile(int x, int y, int w, int h, TileConsumer action) voidforEachTile(TileConsumer action) intmindustry.game.RulesgetRules()getTile(int x, int y) intgetWidth()voidresize(int width, int height) voidsetMapName(String name) voidsetRules(mindustry.game.Rules rules)
-
Method Details
-
resize
void resize(int width, int height) -
getWidth
int getWidth() -
getHeight
int getHeight() -
getTile
-
getRules
mindustry.game.Rules getRules() -
setRules
void setRules(mindustry.game.Rules rules) -
getMapName
String getMapName() -
setMapName
-
forEachTile
-
forEachTile
-