diff gamemodel.py @ 57:ba85e5aff370

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 3dfd26b1c7ef
children 2727d6b78978
line wrap: on
line diff
--- a/gamemodel.py	Fri Sep 09 15:18:17 2011 +0200
+++ b/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"])