Пример #1
0
    def intersect(self, other):
        other.score += 5

        e.set_volume(0.3)
        e.play()
        self.check_position(other)
        other.add(self)
Пример #2
0
    def intersect(self, other):
        other.score += 5

        e.set_volume(0.3)
        e.play()
        self.check_position(other)
        other.add(self)
Пример #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)
Пример #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)