|
@@ -64,7 +64,7 @@ public class SaveGame {
|
|
/**
|
|
/**
|
|
* Saves a savable in a system-dependent way.
|
|
* Saves a savable in a system-dependent way.
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
- * @param dataName A unique name for this savegame, e.g. "save_001"
|
|
|
|
|
|
+ * @param dataName A unique name for this SaveGame, e.g. "save_001"
|
|
* @param data The Savable to save
|
|
* @param data The Savable to save
|
|
*/
|
|
*/
|
|
public static void saveGame(String gamePath, String dataName, Savable data) {
|
|
public static void saveGame(String gamePath, String dataName, Savable data) {
|
|
@@ -74,7 +74,7 @@ public class SaveGame {
|
|
/**
|
|
/**
|
|
* Saves a savable in a system-dependent way.
|
|
* Saves a savable in a system-dependent way.
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
- * @param dataName A unique name for this savegame, e.g. "save_001"
|
|
|
|
|
|
+ * @param dataName A unique name for this SaveGame, e.g. "save_001"
|
|
* @param data The Savable to save
|
|
* @param data The Savable to save
|
|
* @param storageType The specific type of folder to use to save the data
|
|
* @param storageType The specific type of folder to use to save the data
|
|
*/
|
|
*/
|
|
@@ -127,7 +127,7 @@ public class SaveGame {
|
|
/**
|
|
/**
|
|
* Loads a savable that has been saved on this system with saveGame() before.
|
|
* Loads a savable that has been saved on this system with saveGame() before.
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
- * @param dataName A unique name for this savegame, e.g. "save_001"
|
|
|
|
|
|
+ * @param dataName A unique name for this SaveGame, e.g. "save_001"
|
|
* @return The savable that was saved
|
|
* @return The savable that was saved
|
|
*/
|
|
*/
|
|
public static Savable loadGame(String gamePath, String dataName) {
|
|
public static Savable loadGame(String gamePath, String dataName) {
|
|
@@ -137,7 +137,7 @@ public class SaveGame {
|
|
/**
|
|
/**
|
|
* Loads a savable that has been saved on this system with saveGame() before.
|
|
* Loads a savable that has been saved on this system with saveGame() before.
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
- * @param dataName A unique name for this savegame, e.g. "save_001"
|
|
|
|
|
|
+ * @param dataName A unique name for this SaveGame, e.g. "save_001"
|
|
* @param storageType The specific type of folder to use to save the data
|
|
* @param storageType The specific type of folder to use to save the data
|
|
* @return The savable that was saved
|
|
* @return The savable that was saved
|
|
*/
|
|
*/
|
|
@@ -148,7 +148,7 @@ public class SaveGame {
|
|
/**
|
|
/**
|
|
* Loads a savable that has been saved on this system with saveGame() before.
|
|
* Loads a savable that has been saved on this system with saveGame() before.
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
- * @param dataName A unique name for this savegame, e.g. "save_001"
|
|
|
|
|
|
+ * @param dataName A unique name for this SaveGame, e.g. "save_001"
|
|
* @param manager Link to an AssetManager if required for loading the data (e.g. models with textures)
|
|
* @param manager Link to an AssetManager if required for loading the data (e.g. models with textures)
|
|
* @return The savable that was saved or null if none was found
|
|
* @return The savable that was saved or null if none was found
|
|
*/
|
|
*/
|
|
@@ -159,7 +159,7 @@ public class SaveGame {
|
|
/**
|
|
/**
|
|
* Loads a savable that has been saved on this system with saveGame() before.
|
|
* Loads a savable that has been saved on this system with saveGame() before.
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
* @param gamePath A unique path for this game, e.g. com/mycompany/mygame
|
|
- * @param dataName A unique name for this savegame, e.g. "save_001"
|
|
|
|
|
|
+ * @param dataName A unique name for this SaveGame, e.g. "save_001"
|
|
* @param manager Link to an AssetManager if required for loading the data (e.g. models with textures)
|
|
* @param manager Link to an AssetManager if required for loading the data (e.g. models with textures)
|
|
* @param storageType The specific type of folder to use to save the data
|
|
* @param storageType The specific type of folder to use to save the data
|
|
* @return The savable that was saved or null if none was found
|
|
* @return The savable that was saved or null if none was found
|