def __isPrebattleInited(self):
     result = False
     if self.__prbInitSteps is PREBATTLE_INIT_STEP.INITED:
         g_prbCtrlEvents.onLegacyInited()
         result = True
         self.__prbInitSteps = 0
     return result
Example #2
0
 def __isPrebattleInited(self):
     """
     Is current prebattle finaly inited and we could porecess
     to full entity.
     """
     result = False
     if self.__prbInitSteps is PREBATTLE_INIT_STEP.INITED:
         g_prbCtrlEvents.onLegacyInited()
         result = True
         self.__prbInitSteps = 0
     return result