Beispiel #1
0
 def start(self, ui, battleProxy):
     self.__ui = weakref.proxy(ui)
     self.__battle = battleProxy
     self.__ui.start(self.__vehicles)
     if self.__respawnInfo is not None:
         if BigWorld.player().isGuiVisible:
             setGUIVisibility(False)
         self.__ui.show(self.__respawnInfo.vehicleID, self.__vehicles, self.__cooldowns)
         self.__battle.radialMenu.forcedHide()
         self.__startTimer()
 def __show(self):
     if BigWorld.player().isGuiVisible:
         setGUIVisibility(False)
     self.__ui.show(self.__respawnInfo.vehicleID, self.__vehicles, self.__cooldowns)
     self.__battle.radialMenu.forcedHide()
     self.__startTimer()
 def spawnVehicle(self, vehicleID):
     if self.__ui is not None:
         if BigWorld.player().isGuiVisible:
             setGUIVisibility(True)
         self.__ui.hide()
     return
Beispiel #4
0
 def __show(self):
     if BigWorld.player().isGuiVisible:
         setGUIVisibility(False)
     self.__ui.show(self.__respawnInfo.vehicleID, self.__vehicles, self.__cooldowns)
     self.__battle.radialMenu.forcedHide()
     self.__startTimer()
Beispiel #5
0
 def spawnVehicle(self, vehicleID):
     if self.__ui is not None:
         if BigWorld.player().isGuiVisible:
             setGUIVisibility(True)
         self.__ui.hide()