Exemplo n.º 1
0
 def update(self, dt):
     if self.screenRect.colliderect(self.rect):
         self.drawImage(self.image, dt)
         Moves.update(self,dt)
     else:
         self.kill()
Exemplo n.º 2
0
 def update(self, dt):
     if self.screenRect.colliderect(self.rect):
         Moves.update(self,dt)
     else:
         self.kill()