Commit 652fc543 authored by wildfirecode's avatar wildfirecode

1

parent 5ba909b3
......@@ -64,8 +64,8 @@ export default class HelpScratchPanel extends Panel {
loadSvga(getResPath() + 'resource/assets/svgas/scratch_fail.svga'),
]);
this['go2btn'].once(egret.TouchEvent.TOUCH_TAP, this.onclick_gobtn, this);
this['go1btn'].once(egret.TouchEvent.TOUCH_TAP, this.onclick_gobtn, this);
this['go2btn'].once(egret.TouchEvent.TOUCH_TAP, this.onclick_gobtn2, this);
this['go1btn'].once(egret.TouchEvent.TOUCH_TAP, this.onclick_gobtn1, this);
this['helpbtn'].once(egret.TouchEvent.TOUCH_TAP, this.onClick, this);
const w = [313, 433, 356];
......@@ -100,9 +100,13 @@ export default class HelpScratchPanel extends Panel {
onclick_closeBtn() {
this.hidePanel();
}
onclick_gobtn() {
// NetManager.ins.clickLog(getlogItem(88));
onclick_gobtn1() {
this.hidePanel();
gotoNextLevel();
NetManager.ins.clickLog(getlogItem(90));
}
onclick_gobtn2() {
this.hidePanel();
gotoNextLevel();
}
......
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