ccTouchesBegan(CCSet *pTouches,CCEvent *pEvent);//触屏开始事件ccTouchesMoved(CCSet *pTouches,CCEvent *pEvent);//拖动事件ccTouchesEnded(CCSet *pTouches,CCEvent *pEvent);//触屏结束事件
获得坐标的方法:
CCTouch* touch = (CCTouch*)(touches->anyObject());
CCPoint location = touch->getLocation();
ccTouchesBegan(CCSet *pTouches,CCEvent *pEvent);//触屏开始事件
ccTouchesMoved(CCSet *pTouches,CCEvent *pEvent);//拖动事件
ccTouchesEnded(CCSet *pTouches,CCEvent *pEvent);//触屏结束事件