Exemplo n.º 1
0
 def doSelectAction(self, action):
     if action.actionName == PREBATTLE_ACTION_NAME.SPEC_BATTLES_LIST:
         g_eventDispatcher.showBattleSessionWindow()
         return SelectResult(True)
     return super(BattleSessionEntity, self).doSelectAction(action)
Exemplo n.º 2
0
 def doSelectAction(self, action):
     result = False
     if action.actionName == PREBATTLE_ACTION_NAME.SPEC_BATTLE:
         g_eventDispatcher.showBattleSessionWindow()
         result = True
     return SelectResult(result, None)
Exemplo n.º 3
0
 def doSelectAction(self, action):
     result = False
     if action.actionName == PREBATTLE_ACTION_NAME.SPEC_BATTLE:
         g_eventDispatcher.showBattleSessionWindow()
         result = True
     return SelectResult(result, None)