I'm having some problems to get the index of a menu item selected.
I have 3 images as a CCMenuItemImage and a CCMenu that create a menu with this 3 images.
In all of the CCMenuItemImage, I have the same selector.
How can I have the the item selected of those CCMenuItemImage?
I tried [sender selectedImage] and always return a number like 79016496.
Same if I use [ccmenu.children]
I'd like to have just one selector and a if statement to get the index selected.
Any help?
Thanks