#NEWLINE# def reject_insufficient_gold( self , keys , current_time ) : #NEWLINE# #INDENT# 'Reject player selection if they do not have enough gold' #NEWLINE# dialogue = [ "You don't have enough gold!" ] #NEWLINE# self . dialogue_box = self . make_dialogue_box ( dialogue , 0 ) #NEWLINE# if ( keys [ pg . K_SPACE ] and self . allow_input ) : #NEWLINE# #INDENT# self . notify ( c . CLICK2 ) #NEWLINE# self . state = self . begin_new_transaction ( ) #NEWLINE# self . selection_arrow . rect . topleft = self . arrow_pos1 #NEWLINE# self . allow_input = False #NEWLINE# #UNINDENT# if ( not dialogue [ pg . K_SPACE ] ) : #NEWLINE# #INDENT# self . allow_input = True