#NEWLINE# def draw_background( self , universe ) : #NEWLINE# #INDENT# ' Draws a line between blue and red team.\n        ' #NEWLINE# if ( not self . size_changed ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . canvas . delete ( 'background' ) #NEWLINE# center = ( x_orig . mesh_graph . screen_width // 2 ) #NEWLINE# cols = ( col ( 94 , 158 , 217 ) , col ( 235 , 90 , 90 ) , col ( 80 , 80 , 80 ) ) #NEWLINE# scale = ( self . mesh_graph . half_scale_x * 0.2 ) #NEWLINE# for ( color , x_orig ) in zip ( cols , ( ( center - 3 ) , ( center + 3 ) , center ) ) : #NEWLINE# #INDENT# y_top = self . mesh_graph . mesh_to_screen_y ( 0 , 0 ) #NEWLINE# y_bottom = self . mesh_graph . mesh_to_screen_y ( ( self . mesh_graph . mesh_height - 1 ) , 0 ) #NEWLINE# self . canvas . create_line ( x_orig , y_top , x_orig , y_bottom , width = scale , fill = color , tag = 'background' )