Mercurial > parpg-source
diff gamescenecontroller.py @ 160:75c0b728ccf3
Further work on the scripting system.
author | KarstenBock@gmx.net |
---|---|
date | Sun, 13 Nov 2011 17:19:14 +0100 |
parents | 04854cf6e1ac |
children | d224bbce512a |
line wrap: on
line diff
--- a/gamescenecontroller.py Sun Nov 13 13:37:24 2011 +0100 +++ b/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)