I am trying to create a new CCMenu and CCMenuItemImage I have done this before in classes that extend CCLayer
But I am in a class that is extension of CCNode and I am getting an error:
@ cocos2d::CCMenuItemImage *pHUDCloseItem = cocos2d::CCMenuItemImage::create(
The error is:
@ Unknown type name ‘SEL_MenuHandler’; did you mean ‘cocos2d::SEL_MenuHandler’?@
Can anyone help me understand my mistake?