cocos2d-x动作类游戏,人物排序(层次关系)
摘要:1 void WGBattleLayer::RoleSeqencingZ() 2 { 3 int length = (int)this->vector_All_Roles_->size(); 4 for (int i=0;i<length;i++) 5 { 6 for (int j=0;j<length - i - 1;j++) 7 { 8 //NO.1 9 WGRole* RoleA = this->vector_All_Roles_->at(j);10 WGRo...
阅读全文
posted @ 2011-12-28 15:32