I’m having problem using the ccTouchEnded method or basically any touch method.
I’ve inherited my class from cocos2d::CCTargetedTouchDelegate
In my init method I’ve set:
My function prototype is declared as below in the class :
virtual void ccTouchEnded;
The function implementation is
CCPoint touchLocation = touch~~>locationInView( touch->view() );
touchLocation = CCDirector::sharedDirector()->convertToGL( touchLocation );
I’ve placed a breakpoint in the ccTouchEnded method but it never reaches that point.
Any idea what I might be doing wrong