protected WriteableSpaceBase(WriteableSpaceBase <T> parent, Func <T, Vector2> getPoint, Func <T, TopLeftRectangle> getBox, IPartitioner partitioner = null) { Parent = parent; GetPoint = getPoint; GetBox = getBox; _partitions = new List <IWriteableSpace <T> >(); _readOnlyPartitions = _partitions.AsReadOnly(); _partitioner = partitioner; }
protected Space(WriteableSpaceBase <T> parent, Func <T, Vector2> getPoint, Func <T, TopLeftRectangle> getBox, IPartitioner partitioner = null) : base(parent, getPoint, getBox, partitioner) { _items = new List <T>(); }
protected TrackingSpace(WriteableSpaceBase <T> parent, Func <T, Vector2> getPoint, Func <T, TopLeftRectangle> getBox, IPartitioner partitioner = null) : base(parent, getPoint, getBox, partitioner) { _tracker = new DisposableTracker <T>(); }