EcsPathFindSystem.ts 368 B

123456789101112
  1. import { ecs } from "../../../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
  2. import { MoveToPathSystem } from "./MoveToPath";
  3. import { PathFindSystem } from "./PathFind";
  4. export class EcsPathFindSystem extends ecs.System {
  5. constructor() {
  6. super();
  7. this.add(new PathFindSystem());
  8. this.add(new MoveToPathSystem())
  9. }
  10. }