更新无限模式

This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-04 05:56:28 +08:00
parent 2eca21dab1
commit ec4d6a15d7
9 changed files with 145 additions and 19 deletions

View File

@@ -88,6 +88,7 @@ export default class GFSMBase{
if(process.to.indexOf(next) == -1 && next != GFSMProcessEnum.Wait && next != GFSMProcessEnum.Reset){
console.log(`[GFSM]: 流程To中没有这个流程 请检查代码`,process,next);
return;
}
if(!this.process[next]) next = null;

View File

@@ -209,5 +209,10 @@ export default class GRoleDefault extends GRoleBase<{}>{
this.killBack.push(callback);
}
//判断玩家是否在阵法位置
isTacticalPos():boolean{
return this.tactical.getPosition(this.tacticalIndex).equals(this.v2World);
}
}