Пример #1
0
 def __init__(self):
     effects = {GUI_EFFECT_NAME.SHOW_HINT: effects_player.ShowChainHint(),
      GUI_EFFECT_NAME.SHOW_WINDOW: effects_player.ShowWindowEffect(settings.WINDOW_ALIAS_MAP),
      GUI_EFFECT_NAME.SET_CRITERIA: effects_player.SetCriteriaEffect(),
      GUI_EFFECT_NAME.SET_TRIGGER: effects_player.SetTriggerEffect()}
     super(SfChainsProxy, self).__init__(effects_player.EffectsPlayer(effects))
     self._commands = GUICommandsFactory()
Пример #2
0
 def __init__(self):
     effects = {
         GUI_EFFECT_NAME.SHOW_HINT: effects_player.ShowChainHint(),
         GUI_EFFECT_NAME.SET_CRITERIA: effects_player.SetCriteriaEffect(),
         GUI_EFFECT_NAME.SET_TRIGGER: effects_player.SetTriggerEffect()
     }
     super(SfSalesProxy,
           self).__init__(effects_player.EffectsPlayer(effects))
Пример #3
0
 def __init__(self):
     effects = {
         GUI_EFFECT_NAME.SHOW_WINDOW:
         effects_player.ShowWindowEffect(settings.WINDOW_ALIAS_MAP),
         GUI_EFFECT_NAME.UPDATE_CONTENT:
         effects_player.UpdateContentEffect(),
         GUI_EFFECT_NAME.SHOW_HINT:
         effects_player.ShowChainHint()
     }
     super(SfQuestsProxy,
           self).__init__(effects_player.EffectsPlayer(effects))