diff components/containable.py @ 15:9ffcb493a0f4

Changes for the container system
author KarstenBock@gmx.net
date Sun, 31 Jul 2011 23:48:54 +0200
parents 9c7a96c6fe41
children 16c959864d41
line wrap: on
line diff
--- a/components/containable.py	Sun Jul 31 23:47:28 2011 +0200
+++ b/components/containable.py	Sun Jul 31 23:48:54 2011 +0200
@@ -18,4 +18,7 @@
     
     def __init__(self):
         """Constructor"""
-        Component.__init__(bulk=int, weight=int, image=str, container=object)
+        Component.__init__(bulk=int, weight=int, image=str, current_container=object, new_container=object, new_slot=int)
+        self.fields['current_container'].default = None
+        self.fields['new_container'].default = None
+        self.fields['new_slot'].default = -1