diff --git a/direct/src/task/Timer.py b/direct/src/task/Timer.py index fb0d61ffe5..e09348db1f 100644 --- a/direct/src/task/Timer.py +++ b/direct/src/task/Timer.py @@ -60,6 +60,11 @@ class Timer: """ self.finalT = t + def getT(self): + """ getT() + """ + return (self.finalT - self.currT) + def __timerTask(self, task): t = self.clock.getFrameTime() te = t - self.startT