Mercurial > parpg-core
comparison src/parpg/components/containable.py @ 43:1cc037593517
Fixed bug in components
author | KarstenBock@gmx.net |
---|---|
date | Thu, 01 Sep 2011 23:26:02 +0200 |
parents | 74f09d6417f4 |
children | 96af64cf3b81 |
comparison
equal
deleted
inserted
replaced
42:9a97f53fc550 | 43:1cc037593517 |
---|---|
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) |