diff engine/python/fife/extensions/soundmanager.py @ 575:872a7a94563e

- Updated the soundmanager extension to reflect changes made in last commit. - Made actor walk speed part of the ActorAttributes class. - The ActorAttributes class now gets serialized correctly.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 02 Jul 2010 14:41:27 +0000
parents 6614a5446352
children 2851e232a113
line wrap: on
line diff
--- a/engine/python/fife/extensions/soundmanager.py	Fri Jul 02 06:02:21 2010 +0000
+++ b/engine/python/fife/extensions/soundmanager.py	Fri Jul 02 14:41:27 2010 +0000
@@ -239,7 +239,7 @@
 			else:
 				fifeemitter = self._loadedclips[filename][0]
 
-			clip = SoundEmitter(self, fifeemitter.getID(), filename, fifeemitter)
+			clip = SoundEmitter(self, fifeemitter.getId(), filename, fifeemitter)
 			clip.duration = fifeemitter.getDuration()
 
 		if position is not None:
@@ -361,7 +361,7 @@
 
 		for emitterlist in self._loadedclips.values():
 			for emitter in emitterlist:
-				self._fifesoundmanager.releaseEmitter(emitter.getID())
+				self._fifesoundmanager.releaseEmitter(emitter.getId())
 				emitter = None
 
 		self._loadedclips.clear()