def __init__(self):
     super(SfBattleProxy, self).__init__()
     self.__config = None
     self.__effects = _shared_player.EffectsPlayer({GUI_EFFECT_NAME.SHOW_DIALOG: _shared_player.ShowDialogEffect(settings.DIALOG_ALIAS_MAP),
      GUI_EFFECT_NAME.SHOW_GREETING: effects.ShowGreetingEffect(),
      GUI_EFFECT_NAME.SHOW_HINT: effects.ShowHintEffect(),
      GUI_EFFECT_NAME.NEXT_TASK: effects.NextTaskEffect()})
     self.__tutorial = None
     self.__minimap = None
     self.__markers2D = None
     self.__registered = set()
     self.__isGuiLoaded = False
     return
Пример #2
0
 def __init__(self):
     super(SfBattleProxy, self).__init__()
     self.__config = None
     self.__effects = _shared_player.EffectsPlayer({
         GUI_EFFECT_NAME.SHOW_DIALOG:
         _shared_player.ShowDialogEffect(settings.DIALOG_ALIAS_MAP),
         GUI_EFFECT_NAME.SHOW_GREETING:
         effects.ShowGreetingEffect(),
         GUI_EFFECT_NAME.SHOW_HINT:
         effects.ShowHintEffect(),
         GUI_EFFECT_NAME.NEXT_TASK:
         effects.NextTaskEffect()
     })
     self.__tutorial = None
     self.__minimap = None
     self.__markersManager = None
     self.__commands = _BattleCommandsFactory()
     return