Exemplo n.º 1
0
 def __init__(self):
     Piedra.__init__(self)
     self.izquierda = random.randint(-490, 490)
     self.y = random.randint(-330, 330)
Exemplo n.º 2
0
 def actualizar(self):
     self.x -= 0
     Piedra.actualizar(self)
 
     if self.x > 490:
         self.x = -490
Exemplo n.º 3
0
 def __init__(self, x=0, y=0):
     Piedra.__init__(self, x, y)