Package mindustry.game
Class Saves.SaveSlot
java.lang.Object
mindustry.game.Saves.SaveSlot
- Enclosing class:
- Saves
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cautiousLoad
(Runnable run) void
delete()
void
exportFile
(Fi to) int
getBuild()
getDate()
getMap()
String[]
getMods()
getName()
long
int
getWave()
void
importFile
(Fi from) boolean
boolean
isHidden()
boolean
isSector()
void
load()
mode()
void
save()
void
setAutosave
(boolean save) void
-
Field Details
-
file
-
meta
-
-
Constructor Details
-
SaveSlot
-
-
Method Details
-
load
- Throws:
SaveIO.SaveException
-
save
public void save() -
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()
-