comparison components/containable.py @ 21:def430d59281

Fixed bug in components
author KarstenBock@gmx.net
date Thu, 01 Sep 2011 23:26:02 +0200
parents 16c959864d41
children ff3e395abf91
comparison
equal deleted inserted replaced
20:35081fd801ac 21:def430d59281
16 class Containable(Component): 16 class Containable(Component):
17 """Component that allows an entity to be contained by Container entity.""" 17 """Component that allows an entity to be contained by Container entity."""
18 18
19 def __init__(self): 19 def __init__(self):
20 """Constructor""" 20 """Constructor"""
21 Component.__init__(bulk=int, weight=int, image=str, container=object) 21 Component.__init__(self, bulk=int, weight=int, image=str, container=object, slot=int)