mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-11-07 23:06:03 +00:00
提交拖拽阵法
This commit is contained in:
@@ -44,6 +44,11 @@ export default abstract class GRoleBase<T> extends GObject<T>{
|
||||
get isDie(){ return this._isDie}
|
||||
set isDie(value:boolean){
|
||||
this._isDie = value;
|
||||
if(this.isDie){
|
||||
//如果死亡则关闭状态机
|
||||
//关闭状态机
|
||||
this.fsm.close();
|
||||
}
|
||||
}
|
||||
|
||||
//受击回调
|
||||
|
||||
Reference in New Issue
Block a user