Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
Entity manager baseObject -> T
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong authored and fernandojsg committed Jun 17, 2020
1 parent a2f0d85 commit f488d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EntityManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class EntityPool extends ObjectPool {

expand(count) {
for (var n = 0; n < count; n++) {
var clone = new this.baseObject(this.entityManager);
var clone = new this.T(this.entityManager);
clone._pool = this;
this.freeList.push(clone);
}
Expand Down

0 comments on commit f488d2b

Please sign in to comment.