修复重复多余的定义

This commit is contained in:
YHH
2021-10-04 16:53:00 +08:00
parent cd94326aad
commit f3f5d0bbd1
8 changed files with 77 additions and 78 deletions

View File

@@ -311,7 +311,7 @@ module es {
* @param types
* @returns
*/
public findEntitesOfComponent(...types: any[]): Entity[] {
public findEntitiesOfComponent(...types: any[]): Entity[] {
let entities = [];
if (this._entities.length > 0) {
for (let i = 0, s = this._entities.length; i < s; i++) {