diff src/parpg/gamescenecontroller.py @ 30:94cb5843dcbb

Modifications to use the grease manager and modes
author KarstenBock@gmx.net
date Tue, 12 Jul 2011 12:31:53 +0200
parents aa3d837024a3
children 32faacaf6f28
line wrap: on
line diff
--- a/src/parpg/gamescenecontroller.py	Tue Jul 12 12:30:41 2011 +0200
+++ b/src/parpg/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)