コード例 #1
0
 def doSelectAction(self, action):
     if action.actionName == PREBATTLE_ACTION_NAME.BATTLE_TUTORIAL:
         g_eventDispatcher.startOffbattleTutorial()
         result = SelectResult(True, None)
     else:
         result = SelectResult(False, None)
     return result
コード例 #2
0
 def doSelectAction(self, action):
     if action.actionName == PREBATTLE_ACTION_NAME.BATTLE_TUTORIAL:
         g_eventDispatcher.startOffbattleTutorial()
         result = SelectResult(True, None)
     else:
         result = SelectResult(False, None)
     return result
コード例 #3
0
 def init(self, ctx = None):
     g_eventDispatcher.startOffbattleTutorial()
     return super(TutorialQueueFunctional, self).init(ctx)
コード例 #4
0
 def init(self, ctx=None):
     g_eventDispatcher.startOffbattleTutorial()
     return super(TutorialQueueFunctional, self).init(ctx)
コード例 #5
0
 def init(self, ctx = None):
     result = super(TutorialEntity, self).init(ctx)
     g_eventDispatcher.loadHangar()
     g_eventDispatcher.startOffbattleTutorial()
     return result
コード例 #6
0
 def doSelectAction(self, action):
     if action.actionName == PREBATTLE_ACTION_NAME.BATTLE_TUTORIAL:
         g_eventDispatcher.startOffbattleTutorial()
         return SelectResult(True)
     return super(TutorialEntity, self).doSelectAction(action)