#NEWLINE# def tick( self ) : #NEWLINE# #INDENT# 'Called after the active scene was drawn. Updates stats' #NEWLINE# t = self . fn_time ( ) #NEWLINE# if ( t > self . next_refresh_time ) : #NEWLINE# #INDENT# self . fps = int ( ( self . cnt_frames / ( t - self . start_refresh_time ) ) ) #NEWLINE# self . complete_refresh ( t ) #NEWLINE# self . label . update_info ( self . fps ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . cnt_frames += 1