diff components/fifeagent.py @ 89:939984cff702

Added Base component, which has a saveable_fields property. It is supposed to be derived from, thus it is not in the components list.
author KarstenBock@gmx.net
date Tue, 27 Sep 2011 14:58:03 +0200
parents a9cc5559ec2a
children d2451ecb1433
line wrap: on
line diff
--- a/components/fifeagent.py	Mon Sep 26 15:44:42 2011 +0200
+++ b/components/fifeagent.py	Tue Sep 27 14:58:03 2011 +0200
@@ -11,14 +11,14 @@
 #   You should have received a copy of the GNU General Public License
 #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-from parpg.bGrease.component import Component
+from base import Base
 
-class FifeAgent(Component):
+class FifeAgent(Base):
     """Component that stores the values for a fife agent"""
     
     def __init__(self):
         """Constructor"""
-        Component.__init__(self, layer=object, behaviour=object, gfx=str)
+        Base.__init__(self, layer=object, behaviour=object, gfx=str)
 
         
 def setup_behaviour(agent):