#NEWLINE# def _new_round( self ) : #NEWLINE# #INDENT# self . _wait_event . wait ( 10 ) #NEWLINE# if self . _continue_protocol : #NEWLINE# #INDENT# missed = len ( self . _current_shoot_targets ) #NEWLINE# self . _missed_targets += missed #NEWLINE# if ( missed > 0 ) : #NEWLINE# #INDENT# self . _operations . say ( ( ( 'You missed ' + str ( missed ) ) + ' shoot targets.' ) ) #NEWLINE# #UNINDENT# self . _operations . clear_shots ( ) #NEWLINE# message = ( 'missed targets: %d\nbad hits: %d' % ( self . _missed_targets , self . _bad_hits ) ) #NEWLINE# self . _operations . show_text_on_feed ( message ) #NEWLINE# self . _remove_old_targets ( self . _current_shoot_targets ) #NEWLINE# self . _current_shoot_targets = [ ] #NEWLINE# self . _remove_old_targets ( self . _current_dont_shoot_targets ) #NEWLINE# self . _current_dont_shoot_targets = [ ] #NEWLINE# self . _add_targets ( self . _current_shoot_targets , 'training_protocols/shoot_dont_shoot/shoot.target' ) #NEWLINE# self . _add_targets ( self . _current_dont_shoot_targets , 'training_protocols/shoot_dont_shoot/dont_shoot.target' ) #NEWLINE# #UNINDENT# if self . _continue_protocol : #NEWLINE# #INDENT# self . _new_round ( )