修复bitset调整数组大小时错误/componentTypeManager获取修复

This commit is contained in:
yhh
2020-11-24 18:21:26 +08:00
parent 73b484d894
commit 8bc367ab48
8 changed files with 50 additions and 32 deletions

View File

@@ -29,7 +29,7 @@ module es {
public onChanged(entity: Entity) {
let contains = this._entities.contains(entity);
let interest = this._matcher.IsIntersted(entity);
let interest = this._matcher.isInterestedEntity(entity);
if (interest && !contains)
this.add(entity);