public AABBObjectListIterator(AABBTreeBase myTreeToLockChangesOn, Dictionary <object, IAABBNode> myNodeObjects, Dictionary <object, IAABBNode> staticNodeLookup) { this.LockedTree = myTreeToLockChangesOn; LockedTree.SetReadOnly(true); this.DynamicPartActivePair = myNodeObjects.GetEnumerator(); this.StaticPartActivePair = staticNodeLookup.GetEnumerator(); }
protected virtual void ReadWriteSlotChanges(ByteArrayBuffer buffer) { var slotChanges = new LockedTree(); slotChanges.Read(buffer, new SlotChange(0)); if (WriteSlots(new _IVisitable_65(slotChanges))) { FlushDatabaseFile(); } }
public _IVisitable_65(LockedTree slotChanges) { this.slotChanges = slotChanges; }