예제 #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)