Beispiel #1
0
 def shutdown(self):
     # This will be called by the pykManager to shut down the thing
     # immediately.
     if self.Movie:
         self.Movie.stop()
     # Must remove the object before using pygame.mixer module again
     self.Movie = None
     pykPlayer.shutdown(self)
Beispiel #2
0
 def shutdown(self):
     # This will be called by the pykManager to shut down the thing
     # immediately.
     if self.Movie:
         self.Movie.stop()
     # Must remove the object before using pygame.mixer module again
     self.Movie = None
     pykPlayer.shutdown(self)
Beispiel #3
0
    def shutdown(self):
        # This will be called by the pykManager to shut down the thing
        # immediately.
        if self.soundFileData:
            if manager.audioProps:
                pygame.mixer.music.stop()

        # Make sure our surfaces are deallocated before we call up to
        # CloseDisplay(), otherwise bad things can happen.
        self.workingSurface = None
        self.workingTile = None
        self.packetReader = None
        pykPlayer.shutdown(self)
Beispiel #4
0
    def shutdown(self):
        # This will be called by the pykManager to shut down the thing
        # immediately.
        if self.soundFileData:
            if manager.audioProps:
                pygame.mixer.music.stop()

        # Make sure our surfaces are deallocated before we call up to
        # CloseDisplay(), otherwise bad things can happen.
        self.workingSurface = None
        self.workingTile = None
        self.packetReader = None
        pykPlayer.shutdown(self)
Beispiel #5
0
    def shutdown(self):
        # This will be called by the pykManager to shut down the thing
        # immediately.
        #pygame.mixer.music.stop()
        #pygame.mixer.music = None
        pygame.mixer.quit()

        # Make sure our surfaces are deallocated before we call up to
        # CloseDisplay(), otherwise bad things can happen.
        self.workingSurface = None
        self.workingTile = None
        self.packetReader = None
        pykPlayer.shutdown(self)
        pygame.display.quit()
        if self.tempdir:
            shutil.rmtree(self.tempdir)
            self.tempdir = None
Beispiel #6
0
    def shutdown(self):
        # This will be called by the pykManager to shut down the thing
        # immediately.
        #pygame.mixer.music.stop()
        #pygame.mixer.music = None
        pygame.mixer.quit()

        # Make sure our surfaces are deallocated before we call up to
        # CloseDisplay(), otherwise bad things can happen.
        self.workingSurface = None
        self.workingTile = None
        self.packetReader = None
        pykPlayer.shutdown(self)
        pygame.display.quit()
        if self.tempdir:
            shutil.rmtree(self.tempdir)
            self.tempdir = None
Beispiel #7
0
 def shutdown(self):
     # This will be called by the pykManager to shut down the thing
     # immediately.
     pygame.mixer.music.stop()
     pykPlayer.shutdown(self)
Beispiel #8
0
 def shutdown(self):
     # This will be called by the pykManager to shut down the thing
     # immediately.
     pygame.mixer.music.stop()
     pykPlayer.shutdown(self)