Exemple #1
0
 def exit(self):
     '''
     Performs some cleanup.
     '''
     
     # call the super class implementation first, this is optional
     BaseNodeScript.exit(self)
     if self.instructions is not None:
         self.instructions.destroy()                
         
     # this will stop all active sounds
     if self.sounds is not None:
         self.sounds.stopAll()
Exemple #2
0
 def exit(self):
     BaseNodeScript.exit(self)
     self.game.getInput().removeMappings('playlist-control')
Exemple #3
0
 def exit(self):
     BaseNodeScript.exit(self)