Package mindustry.io
Class MapIO
java.lang.Object
mindustry.io.MapIO
Reads and writes map files.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
static Map
static Pixmap
generatePreview
(Map map) static Pixmap
generatePreview
(Tiles tiles) static boolean
static void
static void
loadMap
(Map map, WorldContext cons) static void
static Pixmap
writeImage
(Tiles tiles) static void
-
Constructor Details
-
MapIO
public MapIO()
-
-
Method Details
-
isImage
-
createMap
- Throws:
IOException
-
writeMap
- Throws:
IOException
-
loadMap
-
loadMap
-
generatePreview
- Throws:
IOException
-
generatePreview
-
colorFor
-
writeImage
-
readImage
-