一般情况下,我们使用sprite->getBoundingBox()->containsPoint(touchLocation)来判断是否触摸到了一个精灵.

需求是万变的,经常需求要求我们触摸时判断一个不规则图形