UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

17 lines (15 loc) 240 B
class RefCountedObject { incRefCount() { this._refCount++; } decRefCount() { this._refCount--; } get refCount() { return this._refCount; } constructor(){ this._refCount = 0; } } export { RefCountedObject };