2
from homingrock import HomingRock
3
from bullet import Bullet
4
import crashteroidsconfig
6
class HomingMissle(HomingRock):
7
def __init__(self, player, difficulty = 1):
9
HomingRock.__init__(self, player, config.big_missle_img)
11
HomingRock.__init__(self, player, config.small_missle_img)
16
self.setDifficulty(difficulty)
18
def setDifficulty(self, diff):
19
self.difficulty = diff
27
self.rotationRate = 10
30
self.rotationRate = 15
33
self.rotationRate = 15
37
HomingRock.update(self)