Mercurial > parpg-source
diff world.py @ 68:8915ff6183b0
Added equip to the usable components of the World class.
author | KarstenBock@gmx.net |
---|---|
date | Wed, 21 Sep 2011 16:48:01 +0200 |
parents | e856b604b650 |
children | a9cc5559ec2a |
line wrap: on
line diff
--- a/world.py Wed Sep 21 16:46:36 2011 +0200 +++ b/world.py Wed Sep 21 16:48:01 2011 +0200 @@ -22,6 +22,7 @@ self.components.usable = components.Usable() self.components.change_map = components.ChangeMap() self.components.equipable = components.Equipable() + self.components.equip = components.Equip() def pump(self, dt): for component in self.components: