mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 10:46:17 +00:00
update
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import GRoleUtil from "../../../util/GRoleUtil";
|
||||
import GRoleBase from "../../role/GRoleBase";
|
||||
import GRolePVPEntity from "../../role/PVP/GRolePVPEntity";
|
||||
import GFSMBattle from "../base/GFSMBattle/GFSMBattle";
|
||||
@@ -6,11 +7,13 @@ import GFSMBattle from "../base/GFSMBattle/GFSMBattle";
|
||||
//PVP 状态机
|
||||
export default class GFSMPVP extends GFSMBattle{
|
||||
|
||||
player:GRolePVPEntity;
|
||||
get player(): GRolePVPEntity {
|
||||
return super.player as GRolePVPEntity;
|
||||
}
|
||||
|
||||
constructor(player:GRolePVPEntity){
|
||||
super(player);
|
||||
this.player = player;
|
||||
this._player = GRoleUtil.get(player);
|
||||
}
|
||||
|
||||
//寻敌
|
||||
|
Reference in New Issue
Block a user