diff demos/shooter/scripts/world.py @ 448:5e2ec84902a7

Did a little re-factoring. Introduced the scene graph for collision detection. Changed the time scale to be accurate.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 01 Apr 2010 17:03:34 +0000
parents 2046a1f2f5f2
children ba6817013343
line wrap: on
line diff
--- a/demos/shooter/scripts/world.py	Wed Mar 31 21:13:07 2010 +0000
+++ b/demos/shooter/scripts/world.py	Thu Apr 01 17:03:34 2010 +0000
@@ -88,6 +88,7 @@
 		
 		#give player the default weapon
 		self.scene.player.weapon = Weapon(self.model, self.map.getLayer('objects'), self.scene.player, 100)
+		self.scene.initScene(self.map)
 		
 	def initCameras(self):
 		"""