Package com.deco2800.game.files
Class UserSettings
java.lang.Object
com.deco2800.game.files.UserSettings
Reading, Writing, and applying user settings in the game.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classStores chosen display settings.static classStores game settings, can be serialised/deserialised. - 
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplySettings(UserSettings.Settings settings) Apply the given settings without storing them.static UserSettings.Settingsget()Get the stored user settingsstatic voidset(UserSettings.Settings settings, boolean applyImmediate) Set the stored user settings 
- 
Method Details
- 
get
Get the stored user settings- Returns:
 - Copy of the current settings
 
 - 
set
Set the stored user settings- Parameters:
 settings- New settings to storeapplyImmediate- true to immediately apply new settings.
 - 
applySettings
Apply the given settings without storing them.- Parameters:
 settings- Settings to apply
 
 -