Example #1
0
 def __init__(self, x=0, y=0, w=0, h=0, dx=0, dy=0, mins=0, maxs=0):
     Dodgeable.__init__(self, x, y, w, h, dx, dy, mins)
     self.mMinSpeed = mins
     self.mMaxSpeed = maxs
     self.mSpeedCount = 0
     self.mSpeedCountMax = random.randint(10, 30)
     return
Example #2
0
 def __init__(self, x=0, y=0, w=0, h=0, dx=0, dy=0, s=0):
     Dodgeable.__init__(self, x, y, w, h, dx, dy, s)
     return