diff demos/rpg/scripts/rpg.py @ 536:1afe46247ab1

Some misc code cleanup. Started using the log manager instead of printing directly to console. Added ObjectAlreadyInSceneError exception.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 31 May 2010 20:25:46 +0000
parents 65a92a2449d5
children cb7ec12214a9
line wrap: on
line diff
--- a/demos/rpg/scripts/rpg.py	Mon May 31 18:44:48 2010 +0000
+++ b/demos/rpg/scripts/rpg.py	Mon May 31 20:25:46 2010 +0000
@@ -152,3 +152,9 @@
 			self._gamecontroller.endGame()
 		else:
 			self._gamecontroller.pump()
+			
+			
+	def _getLogManager(self):
+		return self._log
+		
+	logger = property(_getLogManager)