示例#1
0
    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
示例#2
0
文件: MainMenu.py 项目: ycaihua/fofix
 def settingsMenu(self):
     if self.engine.advSettings:
         self.settingsMenuObject = Settings.SettingsMenu(self.engine)
     else:
         self.settingsMenuObject = Settings.BasicSettingsMenu(self.engine)
     return self.settingsMenuObject