diff objects/action.py @ 86:a9cc5559ec2a

Move the identifier field from the FifeAgent component to the new General component. Added General Entity.
author KarstenBock@gmx.net
date Sat, 24 Sep 2011 15:48:24 +0200
parents 04af237dde10
children 824f3068ef2a
line wrap: on
line diff
--- a/objects/action.py	Fri Sep 23 15:09:02 2011 +0200
+++ b/objects/action.py	Sat Sep 24 15:48:24 2011 +0200
@@ -383,7 +383,7 @@
     def execute(self):
         real_item = self.item.containable
         player = self.model.game_state.getObjectById("PlayerCharacter")
-        self.model.moveObject(self.item.fifeagent.identifier, None)
+        self.model.moveObject(self.item.general.identifier, None)
         container.put_item(player.container, real_item)
         super(PickUpAction, self).execute()