我的理解,就是Begin( )函数用来获得第一个触点(也就是单点触控的),pTouches(是个复数)说明支持的是多点触控,我们还可以通过这一变量来获得其他的触控点,即实现多点触控的响应
if(pTouches->count() == 1){
//CCSetIterator iter = pTouches->begin();
//CCTouch *pTouch = (CCTouch *)*iter;
CCTouch *pTouch = (CCTouch *) pTouches->anyObject();
CCPoint location = pTouch->getLocation();
CCRect planeRect = m_plane->boundingBox();
if(planeRect.containsPoint(location)){//(CCRect::CCRectContainsPoint(planeRect, location)){
m_plane->setPosition(location);
}
}