outsource collision reaction code from Ball class to CollisionHelper