diff src/parpg/gamemodel.py @ 84:1e7465a785c4

Removed the pos value from the fifeagent component. getItemActions of Gamescenecontroller gets the position by calling a method of the behaviour.
author KarstenBock@gmx.net
date Fri, 09 Sep 2011 15:30:23 +0200
parents 62cff91a19cb
children d89e88a90c9e
line wrap: on
line diff
--- a/src/parpg/gamemodel.py	Fri Sep 09 15:18:17 2011 +0200
+++ b/src/parpg/gamemodel.py	Fri Sep 09 15:30:23 2011 +0200
@@ -502,7 +502,6 @@
         inst_dict["identifier"] = inst_id
         inst_dict["world"]= world
         inst_dict["type"] = object_type
-        inst_dict["pos"] = Vec2d(x_pos, y_pos)
         inst_dict["gfx"] = object_id
         if agent.has_key("Open"):
             inst_dict["is_open"] = parseBool(agent["Open"])