Commit aece1a34 authored by 王勇霞's avatar 王勇霞

预览

parent 67fd35bb
......@@ -892,5 +892,5 @@ export const ResJson = {
}
}
],
"path": "https://yun.duiba.com.cn/db_games/activity/template/1669174205/resource/"
"path": "https://yun.duiba.com.cn/db_games/activity/template/1669191757/resource/"
}
\ No newline at end of file
......@@ -198,14 +198,20 @@ export class Game extends Scene {
// e.data.isGuide;
this.removeChild(this.gamelayer);
}
editConfigImg(e) {
Tools.gameData.uiConfig = e.data.config;
this.removeAllChildren();
this.initUi();
}
initEvents() {
super.initEvents();
GDispatcher.addEventListener("closeGame", this.closeGame, this);
GDispatcher.addEventListener("editConfigImg", this.editConfigImg, this);
}
removeEvents() {
super.removeEvents();
GDispatcher.removeEventListener("closeGame", this.closeGame, this);
GDispatcher.removeEventListener("editConfigImg", this.editConfigImg, this);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment