MCPcopy Create free account
hub / github.com/melonjs/melonJS / getInstanceCount

Method getInstanceCount

packages/melonjs/src/system/legacy_pool.js:222–224  ·  view source on GitHub ↗

* returns the amount of object instance currently in the pool * @returns {number} amount of object instance

()

Source from the content-addressed store, hash-verified

220 * @returns {number} amount of object instance
221 */
222 getInstanceCount() {
223 return this.instance_counter + getTotalPoolSize();
224 }
225}
226
227/**

Callers 1

_updatePanelMethod · 0.80

Calls 1

getTotalPoolSizeFunction · 0.90

Tested by

no test coverage detected