This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-10-24 02:32:06 +08:00
parent 77d44ee300
commit 72f3d7e880
26 changed files with 545 additions and 285 deletions

View File

@@ -0,0 +1,25 @@
import GRoleBase from "../../role/GRoleBase";
import GRolePVPEntity from "../../role/PVP/GRolePVPEntity";
import GFSMBattle from "../GFSMBattle";
//PVP 状态机
export default class GFSMPVP extends GFSMBattle{
player:GRolePVPEntity;
constructor(player:GRolePVPEntity){
super();
this.player = player;
}
//寻敌
onSeekEnemy(): GRoleBase<any> {
return this.player.mode.getEnumy(this.player);
}
//攻击
onAttack() {
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "86cd6fa1-1340-4343-8929-7c5363727b1c",
"files": [],
"subMetas": {},
"userData": {}
}