Files
heros/assets/script/game/skill/EcsSkillSystem.ts

18 lines
582 B
TypeScript

import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
import { HeroSkillSystem } from "./HeroSkillSystem";
import { DamageSystem } from "../damage/DamageSystem";
import { BattleManagerSystem } from "../battle/BattleManager";
import { BattleEndSystem } from "../battle/BattleEndSystem";
export class EcsSkillSystem extends ecs.System {
constructor() {
super();
this.add(new HeroSkillSystem());
this.add(new DamageSystem());
this.add(new BattleManagerSystem());
this.add(new BattleEndSystem());
}
}