intptr_t ids[] = { 2029930560};
#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID
float xxs[] = {(float)currentClickableObj.x * scrWidth /1136};
float yys[] = {(640-(float)currentClickableObj.y) * scrHeight /640};
CCEGLView* view = cocos2d::CCDirector::sharedDirector()->getOpenGLView();
view->handleTouchesBegin(1, ids, xxs, yes); //注册touch按下开始
#else
float xxs[] = {(float)currentClickableObj.x};
float yys[] = {(640-(float)currentClickableObj.y)};
GLViewProtocol* eglView =cocos2d::Director::getInstance()->getOpenGLView();
eglView->handleTouchesBegin(1, ids, xxs, yys);
#endif
//touch滑动
moveToTager(Vec2(currentClickableObj.x,currentClickableObj.y),Vec2(currentClickableObj.x -800, currentClickableObj.y));
// CCLOG("HandManager::Village schedule");
m_delayDelegates.push_back(DelayCallDelegate::getInstance(0.2,1, [&]()
{
intptr_t ids[] = { 2029930560};
float xxs[] = {(float)currentClickableObj.x - 800};
float yys[] = { 640-(float)currentClickableObj.y};
#if CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID