Class Save

java.lang.Object
fr.formiko.usuel.Save
All Implemented Interfaces:
Serializable

public class Save extends Object implements Serializable
Save all importants informations about game as what's the id of save.
Author:
Hydrolien
See Also:
Serialized Form
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
      Constant Field Values
    • idS

      private int idS
    • f

      private static File f
  • Constructor Details

    • Save

      public Save()
      Empty constructor.
    • Save

      public Save(String fileName)
      Constructor with a specific file name.
      Parameters:
      fileName - the file name
  • Method Details

    • addSave

      public void addSave()
    • getIdS

      public int getIdS()
    • getSave

      public static Save getSave()
      get save informations.
    • save

      public void save()
      save idSave as .save in bin/.