#NEWLINE# def draw_status_info( self , turn , round , layout_name ) : #NEWLINE# #INDENT# newtime = time . time ( ) #NEWLINE# diff = ( newtime - self . timestamp ) #NEWLINE# if ( diff == 0 ) : #NEWLINE# #INDENT# diff = 1e-07 #NEWLINE# #UNINDENT# self . fps = ( ( ( 1 / diff ) + ( ( self . FPS_MULT - 1 ) * self . fps ) ) / self . FPS_MULT ) #NEWLINE# self . timestamp = newtime #NEWLINE# roundturn = ( 'Bot %d / Round % 3d' % ( turn , round ) ) #NEWLINE# fps_info = ( '%.f fps' % self . fps ) #NEWLINE# self . status_fps_info . config ( text = fps_info ) #NEWLINE# self . status_round_info . config ( text = roundturn ) #NEWLINE# self . status_layout_info . config ( text = layout_name )