CCSpriteBatchNode获得各个分支Sprite的方法
                
                
                     2011/1/3 9:17:55  icewwolf  http://icewwolf.javaeye.com  
我要评论(0) 
                
                    
                        - 摘要://Batch是一个CCSpriteBatchNode,下面Batch-》Sprite-》ChildrenSprite,//它们的Tag分别为:TagofBatch,TagofSprite,TagofChildrenSprite得到ChildSprite的方法如下,根据各自的Tag得到相应的数据。idBatch=[selfgetChildByTag:TagofBatch];idSprite=[BatchgetChildByTag:TagofSprite]
 
                        - 标签:方法 
 
                        
                    
                 
                
                    
                    
    //Batch是一个CCSpriteBatchNode,下面Batch-》Sprite-》ChildrenSprite,//它们的Tag分别为:TagofBatch,TagofSprite,TagofChildrenSprite
	得到ChildSprite的方法如下,根据各自的Tag得到相应的数据。
	id Batch = [self getChildByTag:TagofBatch];
	id Sprite =  [Batch getChildByTag:TagofSprite];
	CCSprite *ChildrenSprite = (CCSprite*) [Sprite getChildByTag:TagofChildrenSprite];