diff entities/character.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 8f9e9f47c363
children
line wrap: on
line diff
--- a/entities/character.py	Fri Sep 09 15:18:17 2011 +0200
+++ b/entities/character.py	Fri Sep 09 15:30:23 2011 +0200
@@ -17,7 +17,7 @@
 class Character(Entity):
     def __init__(self, world, view_name, real_name, desc, statistics, max_bulk,
                  identifier, layer=None, behaviour=None, dialogue=None, 
-                 gfx=None, pos=Vec2d(0.0, 0.0), items=None
+                 gfx=None, items=None
                  ):
         self.characterstats.statistics = statistics
         
@@ -34,4 +34,3 @@
         self.fifeagent.layer = layer
         self.fifeagent.behaviour = behaviour
         self.fifeagent.gfx = gfx
-        self.fifeagent.pos = pos