Mercurial > parpg-core
diff src/parpg/gamescenecontroller.py @ 192:191f89a22303
Further work on the scripting system.
author | KarstenBock@gmx.net |
---|---|
date | Sun, 13 Nov 2011 17:19:14 +0100 |
parents | a22e92090018 |
children | 728eabc921f2 |
line wrap: on
line diff
--- a/src/parpg/gamescenecontroller.py Sun Nov 13 13:37:24 2011 +0100 +++ b/src/parpg/gamescenecontroller.py Sun Nov 13 17:19:14 2011 +0100 @@ -73,6 +73,8 @@ model, application) World.__init__(self) + self.systems.scripting.game_state = self.model.game_state + #this can be helpful for IDEs code analysis if False: assert(isinstance(self.engine, fife.Engine)) @@ -563,6 +565,7 @@ if self.paused: return ControllerBase.pump(self, dt) + World.pump(self, dt) self.updateMouse() if self.model.active_map: self.view.highlightFrontObject(self.last_mousecoords)