Mercurial > parpg-source
diff gamescenecontroller.py @ 8:708a6f651c31
Modifications to use the grease manager and modes
author | KarstenBock@gmx.net |
---|---|
date | Tue, 12 Jul 2011 12:31:53 +0200 |
parents | bf1dd9c24a7e |
children | 3011bc71ab20 |
line wrap: on
line diff
--- a/gamescenecontroller.py Tue Jul 12 12:30:41 2011 +0200 +++ b/gamescenecontroller.py Tue Jul 12 12:31:53 2011 +0200 @@ -516,12 +516,13 @@ elif(command.getCommandType() == fife.CMD_MOUSE_FOCUS_LOST): self.has_mouse_focus = False - def pump(self): + def pump(self, dt): """Routine called during each frame. Our main loop is in ./run.py""" # uncomment to instrument # t0 = time.time() if self.paused: return + ControllerBase.pump(self, dt) self.updateMouse() if self.model.active_map: self.view.highlightFrontObject(self.last_mousecoords)