Mercurial > parpg-core
diff src/parpg/gamesceneview.py @ 79:62cff91a19cb
Modifications to make the player agent move around by clicking with the mouse.
author | KarstenBock@gmx.net |
---|---|
date | Thu, 08 Sep 2011 18:23:06 +0200 |
parents | ad75fa042b99 |
children |
line wrap: on
line diff
--- a/src/parpg/gamesceneview.py Thu Sep 08 15:18:39 2011 +0200 +++ b/src/parpg/gamesceneview.py Thu Sep 08 18:23:06 2011 +0200 @@ -62,7 +62,7 @@ def onWalk(self, click): """Callback sample for the context menu.""" self.hud.hideContainer() - self.model.game_state.getObjectById("PlayerCharacter").fifeagent.run(click) + self.model.game_state.getObjectById("PlayerCharacter").fifeagent.behaviour.run(click) def refreshTopLayerTransparencies(self): """Fade or unfade TopLayer instances if the PlayerCharacter