interface SettingsManager<S : Settings<*, *>>
A SettingsManager
is an object that can save and load settings.
S
- the type of settings that is saved and loaded
abstract fun loadSettings(): Unit
Loads the default settings object. abstract fun loadSettings(settings: S): Unit
Loads |
|
abstract fun saveSettings(): Unit
Saves settings to the default settings object. abstract fun saveSettings(settings: S): Unit
Saves settings to |
abstract class SettingsComponent<S : Settings<S, T>, T : Scheme<T>> : SettingsManager<S>
A component that allows the user to edit settings and its corresponding schemes. |