3
from smallrock import SmallRock
4
import crashteroidsconfig
6
class MediumRock(Rock):
7
def __init__(self, x, y, game):
11
rk = random.randint(0,2)
12
Rock.__init__(self, config.medium_rock + str(rk) + ".png")
17
for g in self.groups():
19
g.add(SmallRock(self.x, self.y, self.game))
21
self.game.increaseScore(self.points)