Class Saves.SaveSlot

java.lang.Object
mindustry.game.Saves.SaveSlot
Enclosing class:
Saves

public class Saves.SaveSlot extends Object
  • Field Details

    • file

      public final Fi file
    • meta

      public SaveMeta meta
  • Constructor Details

    • SaveSlot

      public SaveSlot(Fi file)
  • Method Details

    • load

      public void load() throws SaveIO.SaveException
      Throws:
      SaveIO.SaveException
    • save

      public void save()
    • previewTexture

      public Texture previewTexture()
    • isHidden

      public boolean isHidden()
    • getPlayTime

      public String getPlayTime()
    • getTimestamp

      public long getTimestamp()
    • getDate

      public String getDate()
    • getMap

      public Map getMap()
    • cautiousLoad

      public void cautiousLoad(Runnable run)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getMods

      public String[] getMods()
    • getSector

      @Nullable public Sector getSector()
    • isSector

      public boolean isSector()
    • mode

      public Gamemode mode()
    • getBuild

      public int getBuild()
    • getWave

      public int getWave()
    • isAutosave

      public boolean isAutosave()
    • setAutosave

      public void setAutosave(boolean save)
    • importFile

      public void importFile(Fi from) throws IOException
      Throws:
      IOException
    • exportFile

      public void exportFile(Fi to) throws IOException
      Throws:
      IOException
    • delete

      public void delete()