public LuaObjectPool() { this.list = new List <LuaObjectPool.PoolNode>(1024); this.head = new LuaObjectPool.PoolNode(0, null); this.list.Add(this.head); this.list.Add(new LuaObjectPool.PoolNode(1, null)); this.count = this.list.get_Count(); }
public void Clear() { this.list.Clear(); this.head = null; this.count = 0; }