tuxemon.config module
- class tuxemon.config.TuxemonConfig(config_path=None)[source]
Bases:
object
Handles loading of the config file for the primary game and map editor.
Do not forget to edit the default configuration specified below!
- Parameters:
config_path (Optional[str]) –
- tuxemon.config.generate_default_config()[source]
Get new config file from defaults.
- Return type:
ConfigParser
- tuxemon.config.get_custom_pygame_keyboard_controls(cfg)[source]
- Parameters:
cfg (ConfigParser) – Config parser.
- Return type:
Mapping[int | None, int]