Package mindustry.game
Class Saves
java.lang.Object
mindustry.game.Saves
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getSectorFile
(Sector sector) long
importSave
(Fi file) boolean
isSaving()
void
load()
void
void
saveSector
(Sector sector) void
update()
-
Constructor Details
-
Saves
public Saves()
-
-
Method Details
-
load
public void load() -
getLastSector
-
getCurrent
-
update
public void update() -
getTotalPlaytime
public long getTotalPlaytime() -
resetSave
public void resetSave() -
isSaving
public boolean isSaving() -
getSectorFile
-
saveSector
-
addSave
-
importSave
- Throws:
IOException
-
getNextSlotFile
-
getSaveSlots
-
deleteAll
public void deleteAll()
-