def _above_threshold_this_frame(self, ball_A, ball_B):
     ij = calculations.ball_order(ball_A, ball_B)
     if ij in self.above_threshold_this_frame:
         return True
     return False
 def append_ball_collision(self, A, B):
     ij = calculations.ball_order(A, B)
     self.hits_this_frame.append(ij)
 def _add_to_hits_this_frame_li(self, ball_A, ball_B):
     ij = calculations.ball_order(ball_A, ball_B)
     self.hits_this_frame.append(ij)