新增被动系统与协调系统 完善matcher
This commit is contained in:
11
source/src/ECS/Systems/PassiveSystem.ts
Normal file
11
source/src/ECS/Systems/PassiveSystem.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
abstract class PassiveSystem extends EntitySystem {
|
||||
public onChanged(entity: Entity){
|
||||
|
||||
}
|
||||
|
||||
protected process(entities: Entity[]){
|
||||
// 我们用我们自己的不考虑实体的基本实体系统来代替
|
||||
this.begin();
|
||||
this.end();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user