UIEvent to CCEvent

UIEvent to CCEvent
0.0 0


I want to get all the touches that are on screen, even if they’re not moving.
I usually do this in cocos2d

-(void)ccTouchesMoved:(NSSet )touches withEvent:events {
allTaps = [events allTouches];

How do I get the same result using CCEvent?
I looked up at CCEvent class and it’s empty, so what is it for?


Can not use object of object-c in cpp, we can not change all cpp to .mm.
So we can not use UIEvent in cpp.
And other platforms don’t have similar class.


Thanks for your answer. ^^