Beispiel #1
0
 public void Push(GPoolObject obj)
 {
     if (obj.reference <= 0)
     {
         this._typeToObjects[obj.GetType()].Enqueue(obj);
     }
     else
     {
         this._referencing[obj.GetType()].Add(obj);
     }
 }