I created set of cards on the screen. Now I want to move the layer.I written the code like :
void GamePlay::ccTouchBegin(cocos2d::CCSet* touches,cocos2d::CCEvent* event,cocos2d::CCLayer* layer)
and also I did this->setIsTouchEnabled(true); in init() function, but it is not working.
please help me,
I am the beginner in cocos2d-x and c++.