Exemplo n.º 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()
Exemplo n.º 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))
Exemplo n.º 3
0
 def __init__(self):
     effects = {
         GUI_EFFECT_NAME.SHOW_DIALOG:
         shared_effects.ShowDialogEffect(settings.DIALOG_ALIAS_MAP),
         GUI_EFFECT_NAME.SET_CRITERIA:
         shared_effects.SetCriteriaEffect(),
         GUI_EFFECT_NAME.SET_VIEW_CRITERIA:
         shared_effects.SetViewCriteriaEffect(),
         GUI_EFFECT_NAME.SET_TRIGGER:
         shared_effects.SetTriggerEffect(),
         GUI_EFFECT_NAME.SET_ITEM_PROPS:
         shared_effects.SetItemPropsEffect(),
         GUI_EFFECT_NAME.PLAY_ANIMATION:
         shared_effects.PlayAnimationEffect(),
         GUI_EFFECT_NAME.SHOW_HINT:
         bc_effects.ShowHint()
     }
     super(SfBootcampLobbyProxy,
           self).__init__(shared_effects.EffectsPlayer(effects))