diff mode.py @ 65:e856b604b650

Changed "import bGrease" to "import parpg.bGrease".
author KarstenBock@gmx.net
date Wed, 21 Sep 2011 16:10:14 +0200
parents ff3e395abf91
children
line wrap: on
line diff
--- a/mode.py	Wed Sep 21 15:43:12 2011 +0200
+++ b/mode.py	Wed Sep 21 16:10:14 2011 +0200
@@ -1,21 +1,21 @@
-
-from bGrease.mode import *
-import abc
-
-class FifeManager(BaseManager):
-
-	def __init__(self):
-		self.modes = []
-	
-	def _pump(self):
-		if self.current_mode:
-			self.current_mode.pump(self.current_mode.engine.getTimeManager().getTimeDelta() / 1000.0)
-	
-class FifeMode(BaseMode):
-	
-	def __init__(self):
-		BaseMode.__init__(self)
-	
-	@abc.abstractmethod
-	def pump(self, dt):
-		"""Performs actions every frame"""
\ No newline at end of file
+
+from parpg.bGrease.mode import *
+import abc
+
+class FifeManager(BaseManager):
+
+        def __init__(self):
+                self.modes = []
+
+        def _pump(self):
+                if self.current_mode:
+                        self.current_mode.pump(self.current_mode.engine.getTimeManager().getTimeDelta() / 1000.0)
+
+class FifeMode(BaseMode):
+
+        def __init__(self):
+                BaseMode.__init__(self)
+
+        @abc.abstractmethod
+        def pump(self, dt):
+                """Performs actions every frame"""
\ No newline at end of file