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()
def exit(self): BaseNodeScript.exit(self) self.game.getInput().removeMappings('playlist-control')
def exit(self): BaseNodeScript.exit(self)