changeset 21:def430d59281

Fixed bug in components
author KarstenBock@gmx.net
date Thu, 01 Sep 2011 23:26:02 +0200
parents 35081fd801ac
children d8c17766895b
files components/Behavior.py components/CharacterStatistics.py components/containable.py components/container.py components/description.py components/dialog.py components/fifeagent.py components/lockable.py
diffstat 8 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/components/Behavior.py	Wed Aug 10 21:08:48 2011 +0200
+++ b/components/Behavior.py	Thu Sep 01 23:26:02 2011 +0200
@@ -21,4 +21,4 @@
     
     def __init__(self):
         """Constructor"""
-        Component.__init__(scripts=list)
+        Component.__init__(self, scripts=list)
--- a/components/CharacterStatistics.py	Wed Aug 10 21:08:48 2011 +0200
+++ b/components/CharacterStatistics.py	Thu Sep 01 23:26:02 2011 +0200
@@ -18,4 +18,4 @@
     
     def __init__(self):
         """Constructor"""
-        Component.__init__(statistics=dict)
+        Component.__init__(self, statistics=dict)
--- a/components/containable.py	Wed Aug 10 21:08:48 2011 +0200
+++ b/components/containable.py	Thu Sep 01 23:26:02 2011 +0200
@@ -18,4 +18,4 @@
     
     def __init__(self):
         """Constructor"""
-        Component.__init__(bulk=int, weight=int, image=str, container=object)
+        Component.__init__(self, bulk=int, weight=int, image=str, container=object, slot=int)
--- a/components/container.py	Wed Aug 10 21:08:48 2011 +0200
+++ b/components/container.py	Thu Sep 01 23:26:02 2011 +0200
@@ -19,4 +19,4 @@
     """
     
     def __init__(self):
-        Component.__init__(children=list, max_bulk=int)
+        Component.__init__(self, children=list, max_bulk=int)
--- a/components/description.py	Wed Aug 10 21:08:48 2011 +0200
+++ b/components/description.py	Thu Sep 01 23:26:02 2011 +0200
@@ -18,4 +18,4 @@
     
     def __init__(self):
         """Constructor"""
-        Component.__init__(view_name=str, real_name=str, desc=str)
+        Component.__init__(self, view_name=str, real_name=str, desc=str)
--- a/components/dialog.py	Wed Aug 10 21:08:48 2011 +0200
+++ b/components/dialog.py	Thu Sep 01 23:26:02 2011 +0200
@@ -18,4 +18,4 @@
     
     def __init__(self):
         """Constructor"""
-        Component.__init__(dialogue=object)
+        Component.__init__(self, dialogue=object)
--- a/components/fifeagent.py	Wed Aug 10 21:08:48 2011 +0200
+++ b/components/fifeagent.py	Thu Sep 01 23:26:02 2011 +0200
@@ -18,4 +18,4 @@
     
     def __init__(self):
         """Constructor"""
-        Component.__init__(identifier=int, layer=object, behaviour=object, gfx=str)
+        Component.__init__(self, identifier=int, layer=object, behaviour=object, gfx=str)
--- a/components/lockable.py	Wed Aug 10 21:08:48 2011 +0200
+++ b/components/lockable.py	Thu Sep 01 23:26:02 2011 +0200
@@ -18,4 +18,4 @@
     
     def __init__(self):
         """Constructor"""
-        Component.__init__(locked=bool)
+        Component.__init__(self, locked=bool)