|
@@ -129,6 +129,7 @@ export class LocalMsgManager {
|
|
|
}
|
|
|
async initTestGame() {
|
|
|
let firstGame = Data.game.testSemeGames[Data.game.testGameIndex]
|
|
|
+ Data.game.semeID = firstGame.semeID
|
|
|
Data.game.gameID = firstGame.gameID
|
|
|
Data.game.partID = firstGame.partID
|
|
|
Mgr.ui.closeAll()
|
|
@@ -141,6 +142,10 @@ export class LocalMsgManager {
|
|
|
Data.game.semeBundle = await ccUtils.getBundleAsync(GAME_TYPE[Data.game.curGameType] + 'Seme')
|
|
|
Mgr.ui.show(UI.ChineseTestGameUI)
|
|
|
break
|
|
|
+ case GAME_TYPE.gamePinyin:
|
|
|
+ Mgr.ui.show(UI.PinyinTestGameBgUI)
|
|
|
+ Mgr.ui.show(UI.GameUI)
|
|
|
+ break
|
|
|
default:
|
|
|
break
|
|
|
}
|