Package fr.formiko.usuel
Class Save
java.lang.Object
fr.formiko.usuel.Save
- All Implemented Interfaces:
Serializable
Save all importants informations about game as what's the id of save.
- Author:
- Hydrolien
- See Also:
- Serialized Form
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
idS
private int idS -
f
-
-
Constructor Details
-
Save
public Save()Empty constructor. -
Save
Constructor with a specific file name.- Parameters:
fileName
- the file name
-
-
Method Details
-
addSave
public void addSave() -
getIdS
public int getIdS() -
getSave
get save informations. -
save
public void save()save idSave as .save in bin/.
-