了解 move 用法
This commit is contained in:
15
assets/script/game/common/ecs/position/EcsPositionSystem.ts
Normal file
15
assets/script/game/common/ecs/position/EcsPositionSystem.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* @Author: dgflash
|
||||
* @Date: 2021-08-11 16:41:12
|
||||
* @LastEditors: dgflash
|
||||
* @LastEditTime: 2022-07-25 17:05:02
|
||||
*/
|
||||
import { ecs } from "../../../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS";
|
||||
import { MoveToSystem } from "./MoveTo";
|
||||
|
||||
export class EcsPositionSystem extends ecs.System {
|
||||
constructor() {
|
||||
super();
|
||||
this.add(new MoveToSystem());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user