摘要: 结点添加、删除、获取1.结点:CCNode * childNode = [CCNode node];2.加入结点[myNode addChild:childNode z:0 tag:123];//z决定绘制的顺序3.获取结点CCNode * retrieveNoded = [myNode getChildeByTag:123];4.删除 cleanup:YES正在运行的动作停止[myNode removeChildByTag:123 cleanup:YES];[myNode removeChild:retrievedNode];[myNode removeAllChildrenWithClea 阅读全文
posted @ 2013-07-26 18:47 何卫 阅读(153) 评论(0) 推荐(0) 编辑