fix: Prepares for IPooledEnumerable removal (#1548)
### Summary - Removes `IPooledEnumerable` (non-generic) - Changes `IPooledEnumerable<T>` so that `Free()` is replaced with the `IDisposable` pattern
This commit is contained in:
parent
c2d6578955
commit
d57f1fecc1
92 changed files with 644 additions and 907 deletions
|
|
@ -210,7 +210,7 @@ public class Region : IComparable<Region>, IValueLinkListNode<Region>
|
|||
|
||||
public Rectangle3D[] Area { get; }
|
||||
|
||||
public Sector[] Sectors { get; private set; }
|
||||
public Map.Sector[] Sectors { get; private set; }
|
||||
|
||||
public bool Dynamic { get; }
|
||||
|
||||
|
|
@ -346,7 +346,7 @@ public class Region : IComparable<Region>, IValueLinkListNode<Region>
|
|||
|
||||
Map.RegisterRegion(this);
|
||||
|
||||
var sectors = new List<Sector>();
|
||||
var sectors = new List<Map.Sector>();
|
||||
|
||||
for (var i = 0; i < Area.Length; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue