auto map =TMXTiledMap::create("bk.tmx");
map->setTag(10);
this->addChild(map)
getTileGIDAt//得到這個對象的編號
getTileAt的到這個對象
this->upscheduleAllSelectors();
取消計劃任務
auto map =TMXTiledMap::create("bk.tmx");
map->setTag(10);
this->addChild(map)
getTileGIDAt//得到這個對象的編號
getTileAt的到這個對象
this->upscheduleAllSelectors();
取消計劃任務
轉自:https://www.jianshu.com/p/99efda8dfec9 do{...}while(0)的妙用 IvanRunning 2018.05.07 16:38:26 字數