def __init__(self, x, y, target, mother):
     Mobile_Simulton.randomize_angle(self)
     Mobile_Simulton.__init__(self, x, y, 7, 7, self._angle, 7)
     self.immunity = True
     self.target = target
     self.mothership = mother
     self.success = True
     self.check = True
示例#2
0
 def __init__(self, x, y):
     Pulsator.__init__(self, x, y)
     Mobile_Simulton.__init__(self,
                              x,
                              y,
                              width=20,
                              height=20,
                              angle=1,
                              speed=5)
     Mobile_Simulton.randomize_angle(self)
 def __init__(self, x, y):
     Pulsator.__init__(self, x, y)
     self._speed = 5
     Mobile_Simulton.randomize_angle(self)
示例#4
0
 def __init__(self, x, y):
     aHunter = Mobile_Simulton(x, y, 10, 10, 1, 5)
     aHunter.randomize_angle()
     Mobile_Simulton.__init__(self, x, y, 20, 20, aHunter.get_angle(), 5)
     Pulsator.__init__(self, x, y)
示例#5
0
 def __init__(self, x, y):
     self.count = 40
     Mobile_Simulton.randomize_angle(self)
     Pulsator.__init__(self, x, y)
     Mobile_Simulton.set_speed(self, 12)
示例#6
0
 def __init__(self, x, y):
     Mobile_Simulton.randomize_angle(self)
     Pulsator.__init__(self, x, y)
     Mobile_Simulton.set_speed(self, 5)
 def __init__(self,x,y):
     ball=Mobile_Simulton(x,y,20,20,1,5)
     ball.randomize_angle()
     ang=ball.get_angle()
     Mobile_Simulton.__init__(self,x,y,10,10,ang,5)
     Pulsator.__init__(self, x, y)
示例#8
0
 def __init__(self, x, y):
     Pulsator.__init__(self, x, y)
     self.sight = 200
     Mobile_Simulton.set_speed(self, 5)
     Mobile_Simulton.randomize_angle(self)
示例#9
0
 def __init__(self,x,y):
     Mobile_Simulton.randomize_angle(self)
     Mobile_Simulton.__init__(self,x,y,12,12,self._angle,2)
     self.target1 = None
     self.target2 = None