diff world.py @ 60:e2004c9549d7

Added ChangeMap component.
author KarstenBock@gmx.net
date Sun, 18 Sep 2011 16:07:07 +0200
parents d3a9caba067b
children e5acfeca9bc9
line wrap: on
line diff
--- a/world.py	Fri Sep 09 16:12:46 2011 +0200
+++ b/world.py	Sun Sep 18 16:07:07 2011 +0200
@@ -20,9 +20,7 @@
         self.components.fifeagent = components.FifeAgent()
         self.components.lockable = components.Lockable()
         self.components.usable = components.Usable()
-        
-        #WORKAROUND: To get rid of exception in gamescenecontroller
-        self.components.change_map = Component()
+        self.components.change_map = components.ChangeMap()
     
     def pump(self, dt):
         for component in self.components: