Package com.csse3200.game.files
Class SaveGame
java.lang.Object
com.csse3200.game.files.SaveGame
Reading, Writing, and applying user settings in the game.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SaveGame.GameState
Get the stored save filestatic void
set
(SaveGame.GameState gameState, String path) Set the current game state
-
Method Details
-
get
Get the stored save file- Returns:
- Copy of the saved game state
-
set
Set the current game state- Parameters:
gameState
- The gameState to store
-