{
if (counts!= 6)
{
LogUtils::log_debug("init nineboxsprite Error FBNineBoxType_6Pic_456789");
return;
}
for (int i = 0; i< counts; i++)
{
string str = m_NineBoxConfig->m_SpriteFrameNameList[i];
if (str != "")
{
int k = i + i/2;
s[k] = CCSprite::createWithSpriteFrameName(str.c_str());
}
}
break;
}
if (counts!= 6)
{
LogUtils::log_debug("init nineboxsprite Error FBNineBoxType_6Pic_456789");
return;
}
for (int i = 0; i< counts; i++)
{
string str = m_NineBoxConfig->m_SpriteFrameNameList[i];
if (str != "")
{
int k = i + i/2;
s[k] = CCSprite::createWithSpriteFrameName(str.c_str());
}
}
break;
}