purge() {
		for (const className in this.objectClass) {
			if (this.objectClass[className]) {
				this.objectClass[className].pool = [];
			}
		}
		this.instance_counter = 0;
	}
purge the object pool from any inactive object <br>
Object pooling must be enabled for this function to work<br>
note: this will trigger the garbage collector