mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
update
This commit is contained in:
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user