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

预览

parent ea3c72a6
......@@ -826,5 +826,5 @@ export const ResJson = {
}
}
],
"path": "https://yun.duiba.com.cn/db_games/activity/template/1669185117/resource/"
"path": "https://yun.duiba.com.cn/db_games/activity/template/1669194028/resource/"
}
\ No newline at end of file
......@@ -321,14 +321,20 @@ export class Game extends Scene {
return a.correctNum - b.correctNum;
});
}
editConfigImg(e) {
Tools.gameData.uiConfig = e.data.config;
this.removeAllChildren();
this.initUi();
}
initEvents() {
super.initEvents();
GDispatcher.addEventListener("onAgain", this.gameUIRender, this);
GDispatcher.addEventListener("editConfigImg", this.editConfigImg, this);
}
removeEvents() {
super.removeEvents();
GDispatcher.removeEventListener("onAgain", this.gameUIRender, this);
GDispatcher.removeEventListener("editConfigImg", this.editConfigImg, this);
this.textureContanier.removeEventListener(
FYGE.MouseEvent.MOUSE_DOWN,
this.mouseDownEvent,
......
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