Пример #1
0
 /// <summary>
 /// Creates a new save game manager.
 /// </summary>
 /// <param name="folderName">Name of the folder containing the save.</param>
 /// <param name="fileName">Name of the save file.</param>
 public SaveManager(string folderName, string fileName)
 {
     this.folderName = folderName;
     this.fileName   = fileName;
     this.Data       = new SaveData();
 }
Пример #2
0
 /// <summary>
 /// Creates a new save game manager.
 /// </summary>
 /// <param name="folderName">Name of the folder containing the save.</param>
 /// <param name="fileName">Name of the save file.</param>
 public SaveManager(string folderName, string fileName)
 {
     this.folderName = folderName;
     this.fileName = fileName;
     this.Data = new SaveData();
 }