I'm making a subclass of CCMenuItemImage that executes it's method when the touch begins instead of when it ends. I tried running activate() in the selected() method, which works, but it is executed again as expected when the touch ends. How can I go about this? Please be specific. Thanks.
Asked
Active
Viewed 144 times
1 Answers
0
MenuItemImage->setEnable(true);//active
MenuItemImage->setEnable(false);//disactive

KARTHIK RA
- 469
- 2
- 8