Mercurial > parpg-core
comparison src/parpg/mode.py @ 32:70738c470ad7
Supply the correct value for TimeDelta now
author | KarstenBock@gmx.net |
---|---|
date | Thu, 14 Jul 2011 12:29:09 +0200 |
parents | ff198b1168af |
children | 8b3890f17f94 |
comparison
equal
deleted
inserted
replaced
31:ff198b1168af | 32:70738c470ad7 |
---|---|
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()) | 14 self.current_mode.pump(self.engine.getTimeManager().getTimeDelta() / 1000.0) |
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) |