core.components.config module

class core.components.config.Config(file='tuxemon.cfg')[source]

Bases: object

Handles loading of the configuration file for the primary game and map editor.

fullscreen_check()[source]

If the fullscreen option is set in our configuration option, return a “pygame.FULLSCREEN” object to the game.

Param:None
Return type:pygame.FULLSCREEN
Returns:pygame.FULLSCREEN object or 0
class core.components.config.HeadlessConfig(file='tuxemon.cfg')[source]

Bases: object

Handles loading of the configuration file for the headless server.