Example #1
0
 def run(self):
     self.isRunning = True
     if not self.isSubscribed:
         self.isSubscribed = True
         g_clientUpdateManager.addCallbacks({'stats.tutorialsCompleted': self.__onTutorialCompleted})
         setting = createSettingsCollection().getSettings(self.getVar())
         self._tutorDescriptor = doc_loader.loadDescriptorData(setting)
     self.toggle(isOn=self.isOn(self._bonuses.getCompleted()))
Example #2
0
 def run(self):
     self.isRunning = True
     if not self.isSubscribed:
         self.isSubscribed = True
         g_clientUpdateManager.addCallbacks({'stats.tutorialsCompleted': self.__onTutorialCompleted})
         setting = createSettingsCollection().getSettings(self.getVar())
         self._tutorDescriptor = doc_loader.loadDescriptorData(setting)
     self.toggle(isOn=self.isOn(self._bonuses.getCompleted()))
Example #3
0
 def __init__(self):
     super(TutorialLoader, self).__init__()
     self.__loggedDBIDs = set()
     self.__afterBattle = False
     self.__tutorial = None
     self.__dispatcher = None
     self.__restoreID = None
     self.__settings = _settings.createSettingsCollection()
Example #4
0
 def __init__(self):
     super(TutorialLoader, self).__init__()
     self.__loggedDBIDs = set()
     self.__afterBattle = False
     self.__tutorial = None
     self.__dispatcher = None
     self.__restoreID = None
     self.__settings = _settings.createSettingsCollection()
 def __init__(self):
     super(TutorialLoader, self).__init__()
     self.__loggedDBIDs = set()
     self.__afterBattle = False
     self.__tutorial = None
     self.__dispatcher = None
     self.__restoreID = None
     self.__settings = _settings.createSettingsCollection()
     self.__hintsManager = None
     self.__listener = None
     self.__guiController = GuiController()
     return