mirror of
https://github.com/wu736139669/OzgGameRPG.git
synced 2026-08-05 06:24:38 +00:00
增加窗口样式的设置
This commit is contained in:
@@ -30,7 +30,7 @@ bool RPGMapChoicePlayerMenuLayer::init(CppSQLite3DB *db, CCString* titleLab, CCO
|
||||
|
||||
this->m_db = db;
|
||||
|
||||
CCTMXTiledMap *mainBg = CCTMXTiledMap::create("select_player_style1.tmx");
|
||||
CCTMXTiledMap *mainBg = CCTMXTiledMap::create(CCString::createWithFormat("select_player_%s.tmx", CCUserDefault::sharedUserDefault()->getStringForKey(GAME_STYLE).c_str())->getCString());
|
||||
mainBg->setPosition(ccp(270, 280));
|
||||
mainBg->setTag(kRPGMapChoicePlayerMenuLayerTagBg);
|
||||
this->addChild(mainBg);
|
||||
|
||||
Reference in New Issue
Block a user