Logo Search packages:      
Sourcecode: gameclock version File versions  Download package

def gameclock::Clock::get_time (   self  ) 

return the current time of the clock in ms

Definition at line 112 of file gameclock.py.

00112                       :
        """return the current time of the clock in ms"""
        if self.last_start:
            diff = time.time() - self.last_start
        else:
            diff = 0
        return self.time + (self.factor * diff*1000)

    def update(self):


Generated by  Doxygen 1.6.0   Back to index