#NEWLINE# def hud( self , key , text ) : #NEWLINE# #INDENT# if ( text is None ) : #NEWLINE# #INDENT# self . _hud . pop ( key , None ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _hud [ key ] = text #NEWLINE# #UNINDENT# text = '' #NEWLINE# for key in sorted ( self . _hud . keys ( ) ) : #NEWLINE# #INDENT# text += ( self . _hud [ key ] + '\n\n' ) #NEWLINE# #UNINDENT# self . hud_overlay . text = text