Constructors
constructor
Type Parameters
Parameters
Returns Pool<T>
Properties
objects
objects: T[] = []
Methods
Abstract create
Returns T
Abstract destroy
Parameters
Returns void
get
Returns T
release
- release(object: T): Pool<T>
Parameters
Returns Pool<T>
resize
- resize(size: number): Pool<T>
Parameters
Returns Pool<T>
Object pooling utility.