def settingsMenu(self): """ Callback to launch the settings menu :return: the settings menu objet """ if self.engine.advSettings: self.settingsMenuObject = Settings.SettingsMenu(self.engine) else: self.settingsMenuObject = Settings.BasicSettingsMenu(self.engine) return self.settingsMenuObject
def settingsMenu(self): if self.engine.advSettings: self.settingsMenuObject = Settings.SettingsMenu(self.engine) else: self.settingsMenuObject = Settings.BasicSettingsMenu(self.engine) return self.settingsMenuObject