Beispiel #1
0
 public void RecycleObjectLater(T t)
 {
     if (m_recycleList == null)
     {
         m_recycleList = new FastLinkedList <T>();
     }
     m_recycleList.AddLastItem(t);
     ScheduleRecycle();
 }
Beispiel #2
0
 public ObjectsPool(TimerManager timerManager)
 {
     m_timerManager = timerManager;
     m_list         = new FastLinkedList <T>();
 }