新增被动系统与协调系统 完善matcher

This commit is contained in:
yhh
2020-07-01 14:54:35 +08:00
parent 549db2fcfe
commit 5e871bc501
10 changed files with 241 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
abstract class PassiveSystem extends EntitySystem {
public onChanged(entity: Entity){
}
protected process(entities: Entity[]){
// 我们用我们自己的不考虑实体的基本实体系统来代替
this.begin();
this.end();
}
}