def move(self): if self.mSpeedCount % self.mSpeedCountMax == 0: newspeed = random.randrange(self.mMinSpeed, self.mMaxSpeed, 1) self.setSpeed(newspeed) self.mSpeedCount += 1 Dodgeable.move(self) return
def move(self): if self.mSpeedCount % self.mSpeedCountMax == 0: self.setSpeed(random.randint(self.mMinSpeed, self.mMaxSpeed)) self.mSpeedCount += 1 Dodgeable.move(self) return