The static class that manages player controlled settings in the game
Members
- Flag for whether the player always tries to dash or not
- Volume for BGMs
- Volume for BGSs
- Flag for whether to remember last battle command or not
- Volume for MEs
- Volume for SEs
- Flag for whether to use the Touch UI or not
Methods
- Sets the current config settings to match passed config object. Will use defaults if any property missing
Name Type Description configObject Config object - Check if the config file is done loading
Returns:
Type Description boolean Whether loading is complete or not - Loads the player's settings from the config save file
- Gets the current config settings as an object
Returns:
Type Description Object Config object - Tries to access a boolean parameter in the config parameter, if no exist, returns default value instead.
Name Type Description configObject Config object namestring The property name defaultValueboolean The default setting Returns:
Type Description boolean config property if exist, else defaultValue - Tries to access a number parameter in the config parameter. if no exists, returns 100 instead
Name Type Description configObject Config object namestring The property name Returns:
Type Description number config property between 0 and 100 if exist, else 100 - Saves the player's settings to the config save file