Exemplo n.º 1
0
    def intersect(self, other):
        other.score += 5

        e.set_volume(0.3)
        e.play()
        self.check_position(other)
        other.add(self)
Exemplo n.º 2
0
    def intersect(self, other):
        other.score += 5

        e.set_volume(0.3)
        e.play()
        self.check_position(other)
        other.add(self)
Exemplo n.º 3
0
 def intersect(self, other):
     other.score +=10
     self.fl = True
     self.g = True
     
     self.rect.center = OUT 
     e.set_volume(0.3)
     SOUND.stop()
     e.play()
     pygame.mixer.music.unpause()
     other.add(self)
Exemplo n.º 4
0
    def intersect(self, other):
        other.score += 10
        self.fl = True
        self.g = True

        self.rect.center = OUT
        e.set_volume(0.3)
        SOUND.stop()
        e.play()
        pygame.mixer.music.unpause()
        other.add(self)