Browse Source

*** empty log message ***

Mike Goslin 25 years ago
parent
commit
45f3198794
1 changed files with 5 additions and 0 deletions
  1. 5 0
      direct/src/task/Timer.py

+ 5 - 0
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