diff src/parpg/world.py @ 92:0f659c7675f6

Changed "import bGrease" to "import parpg.bGrease".
author KarstenBock@gmx.net
date Wed, 21 Sep 2011 16:10:14 +0200
parents 0319dcc47603
children 915190c0cbc8
line wrap: on
line diff
--- a/src/parpg/world.py	Wed Sep 21 15:43:12 2011 +0200
+++ b/src/parpg/world.py	Wed Sep 21 16:10:14 2011 +0200
@@ -1,32 +1,32 @@
-from bGrease.world import *
-from bGrease.component import Component
-
-from parpg.mode import FifeMode
-from parpg import components
-
-class World(FifeMode, BaseWorld):
-
-    def __init__(self):
-        FifeMode.__init__(self)
-        BaseWorld.__init__(self)
-        
-    def configure(self):
-        """Configure the game world's components, systems and renderers"""
-        self.components.characterstats = components.CharacterStatistics()
-        self.components.containable = components.Containable()
-        self.components.container = components.Container()
-        self.components.description = components.Description()
-        self.components.dialogue = components.Dialogue()
-        self.components.fifeagent = components.FifeAgent()
-        self.components.lockable = components.Lockable()
-        self.components.usable = components.Usable()
-        self.components.change_map = components.ChangeMap()
-        self.components.equipable = components.Equipable()
-    
-    def pump(self, dt):
-        for component in self.components:
-            if hasattr(component, "step"):
-                component.step(dt)
-        for system in self.systems:
-            if hasattr(system, "step"):
+from parpg.bGrease.world import *
+from parpg.bGrease.component import Component
+
+from parpg.mode import FifeMode
+from parpg import components
+
+class World(FifeMode, BaseWorld):
+
+    def __init__(self):
+        FifeMode.__init__(self)
+        BaseWorld.__init__(self)
+        
+    def configure(self):
+        """Configure the game world's components, systems and renderers"""
+        self.components.characterstats = components.CharacterStatistics()
+        self.components.containable = components.Containable()
+        self.components.container = components.Container()
+        self.components.description = components.Description()
+        self.components.dialogue = components.Dialogue()
+        self.components.fifeagent = components.FifeAgent()
+        self.components.lockable = components.Lockable()
+        self.components.usable = components.Usable()
+        self.components.change_map = components.ChangeMap()
+        self.components.equipable = components.Equipable()
+    
+    def pump(self, dt):
+        for component in self.components:
+            if hasattr(component, "step"):
+                component.step(dt)
+        for system in self.systems:
+            if hasattr(system, "step"):
                 system.step(dt)
\ No newline at end of file