Trying out member pointers to functions,,,in preparation for using in isHit() for different barrier types