public void Reclaim(IPoolable poolable) { string type = poolable.GetResourceBase(); if (!freePoolables.ContainsKey(type)) { freePoolables.Add(type, new Queue <IPoolable>()); } freePoolables[type].Enqueue(poolable); }