def closeHint(self): self.as_closeHintS() self.__hideCallback = None if self.__componentName is not None: g_bootcampEvents.onBattleComponentVisibility( self.__componentName, True) return
def showHint(self, settings): self.__hideCallback = settings['hideCallback'] self.__id = settings['id'] self.__message = settings['message'] self.__completed = settings['completed'] self.as_showHintS(self.__id, self.__message, self.__completed) for group, name in HINT_VISIBILITY_COMPONENTS_MAP.iteritems(): if self.__id in group: self.__componentName = name g_bootcampEvents.onBattleComponentVisibility(self.__componentName, False) break
def hideHint(self): self.as_hideHintS() if self.__componentName is not None: g_bootcampEvents.onBattleComponentVisibility( self.__componentName, True) return