comparison mode.py @ 9:3a9c97a75c5b

TimeDelta parameter is now correct
author KarstenBock@gmx.net
date Thu, 14 Jul 2011 10:44:51 +0200
parents 708a6f651c31
children e0477f8983cb
comparison
equal deleted inserted replaced
8:708a6f651c31 9:3a9c97a75c5b
9 ApplicationBase.__init__(self, TDS) 9 ApplicationBase.__init__(self, TDS)
10 self.modes = [] 10 self.modes = []
11 11
12 def _pump(self): 12 def _pump(self):
13 if self.current_mode: 13 if self.current_mode:
14 self.current_mode.pump(self.engine.getTimeManager().getTimeDelta() / 1000) 14 self.current_mode.pump(self.engine.getTimeManager().getTimeDelta())
15 15
16 class FifeMode(BaseMode): 16 class FifeMode(BaseMode):
17 17
18 def __init__(self): 18 def __init__(self):
19 BaseMode.__init__(self) 19 BaseMode.__init__(self)