Beispiel #1
0
 def _newBestSpeed(self, car, intermediate, speed):
     if car == self.__id:
         self.__best[intermediate] = mpsToString(speed)
         self.reset()
Beispiel #2
0
 def _newChrono(self, car, intermediate, _lap, _time, speed):
     if car == self.__id:
         self.__last[intermediate] = mpsToString(speed)
         self.reset()
Beispiel #3
0
 def _updateBestSpeedLabel(self, car, intermediate, lap, speed):
     s = "%s (%s in intermediate %i of lap %i)" % (mpsToString(speed),
                                                   PilotInfo.get(car).name(),
                                                   intermediate,
                                                   lap)
     self.bestSpeedLabel.setText(s)