Beispiel #1
0
 def destruct(self):
     global MIXER
     global explosion_channel
     MIXER.play(explosion_channel, 'explosion')
     exploading_ships.append([self.rect.left, self.rect.top, 0])
     MIXER.stop(self.soundchannel)
     MIXER.free_channel(self.soundchannel)
     self.kill()
Beispiel #2
0
 def destruct(self):
     global MIXER
     MIXER.free_channel(self.soundchannel)
     self.kill()