去掉物理碰撞组件,英雄的移动改由系统逻辑统一处理

This commit is contained in:
2025-02-02 16:28:19 +08:00
parent e571ae2caf
commit 00148863ad
82 changed files with 397 additions and 5831 deletions

View File

@@ -5,11 +5,13 @@
* @LastEditTime: 2022-07-25 17:05:02
*/
import { ecs } from "../../../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
import { BattleMoveSystem } from "./BattleMoveSystem";
import { MoveToSystem } from "./MoveTo";
export class EcsPositionSystem extends ecs.System {
constructor() {
super();
this.add(new MoveToSystem());
this.add(new BattleMoveSystem());
}
}