comparison src/parpg/components/containable.py @ 89:b5619032c521

Added item_type attribute to the containable component.
author KarstenBock@gmx.net
date Wed, 21 Sep 2011 15:05:12 +0200
parents 96af64cf3b81
children 0f659c7675f6
comparison
equal deleted inserted replaced
88:d89e88a90c9e 89:b5619032c521
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__(self, bulk=int, weight=int, image=str, container=object, slot=int) 21 Component.__init__(self, bulk=int, weight=int, item_type=str, image=str, container=object, slot=int)