我有 cocos2d 的游戏我有很多精灵我用触摸来精灵
CGRectContainsPoint([[gameImages objectAtIndex:i] boundingBox], location)
CGPoint location = [touch locationInView: [touch view]];
location = [[CCDirector sharedDirector] convertToGL: location];
但是当我触摸精灵时必须删除我有
[self removeChild:[gameImages objectAtIndex:bacvacIndexner[0]] cleanup:YES];
但是触摸有效,因为我使用对象坐标并且当我从子项中删除对象时我无法删除对象我该怎么办?为什么我可以获得精灵的触摸事件。有什么没有坐标法的吗?