SettingsManager

interface SettingsManager<S : Settings<*, *>>(source)

A SettingsManager is an object that can save and load settings.

Parameters

S

the type of settings that is saved and loaded

Functions

Link copied to clipboard
abstract fun loadSettings()

Loads the default settings object.

abstract fun loadSettings(settings: S)

Loads settings.

Link copied to clipboard
abstract fun saveSettings()

Saves settings to the default settings object.

abstract fun saveSettings(settings: S)

Saves settings to settings.

Inheritors

Link copied to clipboard