diff mode.py @ 8:708a6f651c31

Modifications to use the grease manager and modes
author KarstenBock@gmx.net
date Tue, 12 Jul 2011 12:31:53 +0200
parents bc88f7d5ca8b
children 3a9c97a75c5b
line wrap: on
line diff
--- a/mode.py	Tue Jul 12 12:30:41 2011 +0200
+++ b/mode.py	Tue Jul 12 12:31:53 2011 +0200
@@ -1,5 +1,5 @@
 
-from grease.mode import *
+from parpg.grease.mode import *
 from fife.extensions.basicapplication import ApplicationBase
 import abc
 
@@ -8,7 +8,6 @@
 	def __init__(self, TDS):
 		ApplicationBase.__init__(self, TDS)
 		self.modes = []
-		self._settings = TDS
 	
 	def _pump(self):
 		if self.current_mode:
@@ -16,6 +15,9 @@
 	
 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