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 111 of file gameclock.py.

00111                       :
        """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 - diff*1000

    def update(self):


Generated by  Doxygen 1.6.0   Back to index