Package mindustry.game
Class Saves.SaveSlot
java.lang.Object
mindustry.game.Saves.SaveSlot
- Enclosing class:
- Saves
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcautiousLoad(Runnable run) voiddelete()voidexportFile(arc.files.Fi to) intgetBuild()getDate()getMap()String[]getMods()getName()longintgetWave()voidimportFile(arc.files.Fi from) booleanbooleanisHidden()booleanisSector()voidload()voidload(WorldContext context) mode()arc.graphics.Texturevoidsave()voidsetAutosave(boolean save) void
-
Field Details
-
file
public arc.files.Fi file -
meta
-
-
Constructor Details
-
SaveSlot
public SaveSlot(arc.files.Fi file)
-
-
Method Details
-
load
- Throws:
SaveIO.SaveException
-
load
- Throws:
SaveIO.SaveException
-
save
public void save() -
previewTexture
public arc.graphics.Texture previewTexture() -
isHidden
public boolean isHidden() -
getPlayTime
-
getTimestamp
public long getTimestamp() -
getDate
-
getMap
-
cautiousLoad
-
getName
-
setName
-
getMods
-
getSector
-
isSector
public boolean isSector() -
mode
-
getBuild
public int getBuild() -
getWave
public int getWave() -
isAutosave
public boolean isAutosave() -
setAutosave
public void setAutosave(boolean save) -
importFile
- Throws:
IOException
-
exportFile
- Throws:
IOException
-
delete
public void delete()
-