#NEWLINE# def whack( self , sound ) : #NEWLINE# #INDENT# global arrow #NEWLINE# ( x , y ) = self . _path . next_pos ( ) #NEWLINE# if self . overlaps ( arrow , use_new_pos = True ) : #NEWLINE# #INDENT# arrow . say ( 'OUCH!' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _scene . add_effect ( Print ( self . _screen , SpeechBubble ( sound ) , y , x , clear = True , delete_count = 50 ) )