Ejemplo n.º 1
0
 public static void Recycle(IPoolable inPoolable)
 {
     if (inPoolable.IsActiveInPool())
     {
         inPoolable.DeactivateForPool();
     }
     else
     {
         throw new System.Exception("tried to recycle an object that was already deactivated");
     }
 }