伤害系统 + 战斗管理系统

This commit is contained in:
walkpan
2025-02-03 11:56:33 +08:00
parent cdb8261be9
commit 8f2612bda2
16 changed files with 237 additions and 2 deletions

View 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;
}
}