Forums » C++ Framework » Problem with setIsTouchEnabled/ccTouchEnded »
| Leandro Oliveira | Problem with setIsTouchEnabled/ccTouchEnded | ||||
|---|---|---|---|---|---|
|
Added by Leandro Oliveira 11 months ago
Hello, guys! When I add the line "this->setIsTouchEnabled(true);" on function init in a Layer (HelloWorld XCode template) the function "virtual void ccTouchEnded (CCTouch *pTouch, CCEvent *pEvent)" no is called. Anyone had this problem? It's necessary to call another function beyond setIsTouchEnabled function? Thanks |
||||
| Zhe Wang | RE: Problem with setIsTouchEnabled/ccTouchEnded | ||||
|
ccTouchesEnded will be called. Enjoy Coding, Enjoy Life. |
||||
| Leandro Oliveira | RE: Problem with setIsTouchEnabled/ccTouchEnded | ||||
|
Added by Leandro Oliveira 11 months ago
Thanks! It`s fixed. I`ll read more about touch delegates. [: |
(1-2/2)