伤害系统 + 战斗管理系统
This commit is contained in:
11
assets/script/game/battle/BattleStateComp.ts
Normal file
11
assets/script/game/battle/BattleStateComp.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
|
||||
@ecs.register('BattleState')
|
||||
export class BattleState extends ecs.Comp {
|
||||
isEnded: boolean = false;
|
||||
|
||||
|
||||
reset() {
|
||||
this.isEnded = false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user