0

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.

David Small
  • 581
  • 1
  • 10
  • 25

1 Answers1

0
MenuItemImage->setEnable(true);//active
MenuItemImage->setEnable(false);//disactive
KARTHIK RA
  • 469
  • 2
  • 8