示例#1
0
 def gunRotationSpeed(self):
     if not self.__hasTurret():
         return round(
             math.degrees(
                 getTurretRotationSpeed(self._itemDescr, self.__factors)),
             2)
     else:
         return None
示例#2
0
 def turretRotationSpeed(self):
     if self.__hasTurret():
         return round(
             math.degrees(
                 items_utils.getTurretRotationSpeed(self._itemDescr,
                                                    self.__factors)), 2)
     else:
         return None
示例#3
0
 def gunRotationSpeed(self):
     if self._itemDescr.isYawHullAimingAvailable:
         return self.chassisRotationSpeed
     else:
         return round(
             math.degrees(
                 items_utils.getTurretRotationSpeed(self._itemDescr,
                                                    self.__factors)),
             2) if not self.__hasTurret() else None
示例#4
0
 def gunRotationSpeed(self):
     if not self.__hasTurret():
         return round(math.degrees(getTurretRotationSpeed(self._itemDescr, self.__factors)), 2)
     else:
         return None
示例#5
0
 def turretRotationSpeed(self):
     if self.__hasTurret():
         return round(math.degrees(getTurretRotationSpeed(self._itemDescr, self.__factors)), 2)