mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交拖拽阵法
This commit is contained in:
@@ -27,7 +27,7 @@ export default class PlayerTacticalData extends BaseData{
|
||||
onSaveTacticalInfo(ov:PlayerTacticalOV){
|
||||
|
||||
if(!ov.tacticalData){
|
||||
ov.tacticalData = JSON.stringify(this.getTacticalInfo());
|
||||
ov.tacticalData = JSON.stringify(this.getInitTacticalInfo());
|
||||
}
|
||||
this.info = {
|
||||
...ov,
|
||||
@@ -63,8 +63,11 @@ export default class PlayerTacticalData extends BaseData{
|
||||
}
|
||||
|
||||
//获取初始化上阵信息
|
||||
getTacticalInfo():number[]{
|
||||
getInitTacticalInfo():number[]{
|
||||
return [0,0,0,0,0,0,0,0,0]
|
||||
}
|
||||
getTacticalInfo():number[]{
|
||||
return this.info.roles;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user