data class WordSettings : Settings<WordSettings, WordScheme>
The user-configurable collection of schemes applicable to generating words.
WordSettings(schemes: MutableList<WordScheme> = DEFAULT_SCHEMES, currentSchemeName: String = DEFAULT_CURRENT_SCHEME_NAME)
The user-configurable collection of schemes applicable to generating words. |
var currentSchemeName: String
the scheme that is currently active |
|
var schemes: MutableList<WordScheme>
the schemes that the user can choose from |
open var currentScheme: SCHEME
The instance of the scheme that is currently active. |
fun deepCopy(): WordSettings
Returns a deep copy of the settings and the contained schemes. |
|
fun getState(): WordSettings
Returns |
|
fun loadState(state: WordSettings): Unit
Copies the fields of |
val default: WordSettings
The persistent |
|
const val DEFAULT_CURRENT_SCHEME_NAME: String
The default value of the currentSchemeName field. |
|
val DEFAULT_SCHEMES: MutableList<WordScheme>
The default value of the schemes field. |