更改命名空间linq为es

This commit is contained in:
yhh
2021-03-29 15:28:18 +08:00
parent 8b5bc444f1
commit 6b2c18ad75
21 changed files with 80 additions and 127 deletions
+2 -2
View File
@@ -95,7 +95,7 @@ module es {
* @param entity
*/
public contains(entity: Entity): boolean {
return new linq.List(this._entities).contains(entity) || this._entitiesToAdded.contains(entity);
return new es.List(this._entities).contains(entity) || this._entitiesToAdded.contains(entity);
}
public getTagList(tag: number) {
@@ -133,7 +133,7 @@ module es {
this.removeFromTagList(entity);
// 处理常规实体列表
new linq.List(this._entities).remove(entity);
new es.List(this._entities).remove(entity);
entity.onRemovedFromScene();
entity.scene = null;