Class Saves

java.lang.Object
mindustry.game.Saves

public class Saves extends Object
  • Constructor Details

    • Saves

      public Saves()
  • Method Details

    • load

      public void load()
    • getLastSector

      @Nullable public Saves.SaveSlot getLastSector()
    • getCurrent

      @Nullable public Saves.SaveSlot getCurrent()
    • update

      public void update()
    • getTotalPlaytime

      public long getTotalPlaytime()
    • resetSave

      public void resetSave()
    • isSaving

      public boolean isSaving()
    • getSectorFile

      public Fi getSectorFile(Sector sector)
    • saveSector

      public void saveSector(Sector sector)
    • addSave

      public Saves.SaveSlot addSave(String name)
    • importSave

      public Saves.SaveSlot importSave(Fi file) throws IOException
      Throws:
      IOException
    • getNextSlotFile

      public Fi getNextSlotFile()
    • getSaveSlots

      public Seq<Saves.SaveSlot> getSaveSlots()
    • deleteAll

      public void deleteAll()