This commit is contained in:
PC-20230316NUNE\Administrator
2023-10-26 18:53:08 +08:00
parent 09225a33c7
commit 39dd60bb8d
2 changed files with 382 additions and 7 deletions

View File

@@ -22,6 +22,7 @@ export class HomeView extends JNGLayerBase {
role.input.isRun = data.isChecked;
})
}
//设置攻击
setRoleAttack(data){
console.log("攻击",data.isChecked);
@@ -30,6 +31,14 @@ export class HomeView extends JNGLayerBase {
})
}
//重置
onClickReset(){
app.sync.onReset();
this.scheduleOnce(() => {
app.sync.onStart();
});
}
}